Commit 1ab99575 authored by Tres Seaver's avatar Tres Seaver

Use zope-testrunner in tox.

parent cf42c427
[tox] [tox]
envlist = envlist =
py26,py27,py32,py33 py26,py27,py32,py33,simple
[testenv] [testenv]
commands = commands =
python setup.py test -q # Run unit tests first.
zope-testrunner -u --test-path=src --auto-color --auto-progress
# Only run functional tests if unit tests pass.
zope-testrunner -f -j99 --test-path=src --auto-color --auto-progress
deps = deps =
ZODB >= 4.0.0b1 ZODB >= 4.0.0b2
random2 random2
ZConfig ZConfig
manuel manuel
...@@ -16,3 +19,12 @@ deps = ...@@ -16,3 +19,12 @@ deps =
zdaemon zdaemon
zope.interface zope.interface
zope.testing zope.testing
zope.testrunner
[testenv:simple]
# Test that 'setup.py test' works
basepython =
python2.7
commands =
python setup.py test -q
deps = {[testenv]deps}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment