diff --git a/tox.ini b/tox.ini index e2a761372..5137af0f4 100644 --- a/tox.ini +++ b/tox.ini @@ -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}