tox: Add a unittests-watch environment.

This commit is contained in:
Florian Bruhin 2015-07-23 11:31:51 +02:00
parent 88416db6a3
commit 5e58d814d7

11
tox.ini
View File

@ -31,6 +31,17 @@ commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m py.test --strict -rfEsw {posargs:tests}
[testenv:unittests-watch]
setenv = {[testenv:unittests]setenv}
passenv = {[testenv:unittests]passenv}
deps =
{[testenv:unittests]deps}
pytest-testmon==0.6
pytest-watch==3.2.0
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envdir}/bin/ptw -- --testmon --strict -rfEsw {posargs:tests}
[testenv:unittests-frozen]
setenv = {[testenv:unittests]setenv}
passenv = {[testenv:unittests]passenv}