summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2015-07-23 11:31:51 +0200
committerFlorian Bruhin <git@the-compiler.org>2015-07-23 11:31:51 +0200
commit5e58d814d75e748c40afd511702935c92e25a9e9 (patch)
tree727c76ece0704dc31b2b1d3e377493ac77a655f8 /tox.ini
parent88416db6a32ace29a0b9c7b2b79bc370baa63054 (diff)
downloadqutebrowser-5e58d814d75e748c40afd511702935c92e25a9e9.tar.gz
qutebrowser-5e58d814d75e748c40afd511702935c92e25a9e9.zip
tox: Add a unittests-watch environment.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 11 insertions, 0 deletions
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}