Commit 57d86181 authored by Tres Seaver's avatar Tres Seaver

Use 'zope-testrunner' within tox.

parent e2543bbf
[tox] [tox]
envlist = py26,py27,py32,py33 envlist = 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
# without explicit deps, setup.py test will download a bunch of eggs into $PWD # without explicit deps, setup.py test will download a bunch of eggs into $PWD
deps = deps =
BTrees BTrees
...@@ -18,6 +21,14 @@ deps = ...@@ -18,6 +21,14 @@ deps =
zope.testing zope.testing
zope.testrunner zope.testrunner
[testenv:simple]
# Test that 'setup.py test' works
basepython =
python2.7
commands =
python setup.py test -q
deps = {[testenv]deps}
[testenv:coverage] [testenv:coverage]
basepython = basepython =
python2.7 python2.7
......
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