because it's awesome.
@@ -3,27 +3,24 @@ envlist =
cover,cover3,py26,py27,py32,py33,py34,pypy
[testenv]
-commands =
- python setup.py test -q
deps =
+ pytest >= 2.5.2
meld3 >= 1.0.0
mock >= 0.5.0
+commands =
+ py.test {posargs}
[testenv:cover]
-basepython =
- python2.6
+basepython = python2.6
commands =
- python setup.py nosetests --with-xunit --with-xcoverage --cover-package=supervisor --cover-erase
+ py.test --cov=supervisor --cov-report=term-missing --cov-report=xml {posargs}
{[testenv]deps}
- nose
- coverage
- nosexcover
+ pytest-cov
[testenv:cover3]
- python3.3
+basepython = python3.3
{[testenv:cover]deps}