From 5e58d814d75e748c40afd511702935c92e25a9e9 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 23 Jul 2015 11:31:51 +0200 Subject: [PATCH] tox: Add a unittests-watch environment. --- tox.ini | 11 +++++++++++ 1 file changed, 11 insertions(+) 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}