setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
-commands = nosetests -a tag='unit'
+commands =
+ python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = bash tools/run_pep8.sh
commands = {posargs}
[testenv:cover]
-commands = nosetests --cover-erase --cover-package=heat --with-xcoverage -a tag='unit'
+setenv = VIRTUAL_ENV={envdir}
+commands =
+ python setup.py testr --coverage
[tox:jenkins]
downloadcache = ~/cache/pip