aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test-requirements.txt2
-rw-r--r--tox.ini5
2 files changed, 5 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 8ab640cc..43efcfe6 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6,4 +6,6 @@ pytest
pykwalify
mock
pip_check_reqs
+coverage
+pytest-cov
tox
diff --git a/tox.ini b/tox.ini
index 0d704b25..1a90dfa3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,11 +11,12 @@ skipsdist = True
usedevelop = True
install_command = pip install -U {opts} {packages}
deps =
- -r{toxinidir}/requirements.txt
- -r{toxinidir}/test-requirements.txt
+ -rrequirements.txt
+ -rtest-requirements.txt
commands=
py.test \
--basetemp={envtmpdir} \
+ --cov qtip --cov-report term-missing --cov-report html \
{posargs}
setenv=
HOME = {envtmpdir}