diff options
author | Florian Bruhin <git@the-compiler.org> | 2015-07-23 11:31:51 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2015-07-23 11:31:51 +0200 |
commit | 5e58d814d75e748c40afd511702935c92e25a9e9 (patch) | |
tree | 727c76ece0704dc31b2b1d3e377493ac77a655f8 /tox.ini | |
parent | 88416db6a32ace29a0b9c7b2b79bc370baa63054 (diff) | |
download | qutebrowser-5e58d814d75e748c40afd511702935c92e25a9e9.tar.gz qutebrowser-5e58d814d75e748c40afd511702935c92e25a9e9.zip |
tox: Add a unittests-watch environment.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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} |