Skip to content

Commit

Permalink
Use zope-testrunner in tox.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed May 17, 2013
1 parent cf42c42 commit 1ab9957
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions tox.ini
@@ -1,12 +1,15 @@
[tox]
envlist =
py26,py27,py32,py33
py26,py27,py32,py33,simple

[testenv]
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 =
ZODB >= 4.0.0b1
ZODB >= 4.0.0b2
random2
ZConfig
manuel
Expand All @@ -16,3 +19,12 @@ deps =
zdaemon
zope.interface
zope.testing
zope.testrunner

[testenv:simple]
# Test that 'setup.py test' works
basepython =
python2.7
commands =
python setup.py test -q
deps = {[testenv]deps}

0 comments on commit 1ab9957

Please sign in to comment.