summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2015-07-24 14:04:40 +0200
committerFlorian Bruhin <git@the-compiler.org>2015-07-24 14:04:40 +0200
commit7f2abd1a466eefb6cf5a1d8642d11691a1789b23 (patch)
tree6dfdd94f258f6ce639532dc8505cd324f389e8f6 /tox.ini
parentdfba381b576121cd9f6a50711b001cf204c9ed2e (diff)
downloadqutebrowser-7f2abd1a466eefb6cf5a1d8642d11691a1789b23.tar.gz
qutebrowser-7f2abd1a466eefb6cf5a1d8642d11691a1789b23.zip
tests: Enforce 100% coverage for perfect modules.
Fixes #792.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 5137af0f4..2a14258d3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -61,9 +61,11 @@ deps =
coverage==3.7.1
pytest-cov==1.8.1
cov-core==1.15.0
+ lxml==3.4.4
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
- {envpython} -m py.test --strict -rfEswx -v --cov qutebrowser --cov-report term --cov-report html {posargs:tests}
+ {envpython} -m py.test --strict -rfEswx -v --cov qutebrowser --cov-report term --cov-report html --cov-report xml {posargs:tests}
+ {envpython} scripts/dev/check_coverage.py
[testenv:misc]
commands =
@@ -81,6 +83,7 @@ deps =
pylint==1.4.4
logilab-common==1.0.2
six==1.9.0
+ lxml==3.4.4
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m pylint scripts qutebrowser --rcfile=.pylintrc --output-format=colorized --reports=no --expected-line-ending-format=LF