summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2016-02-05 17:47:43 -0500
committerDoug Hellmann <doug@doughellmann.com>2016-02-08 13:00:57 -0500
commitafdbfa697c77ebb6b68922d7afd93fc3c08e2d66 (patch)
tree22e88839f8dbc1e3ff64e5e5ce33f713d158392c /tox.ini
parentf1ae1e394c8dbe2251fb5c4679ba290acebe12fb (diff)
downloadoslo-config-afdbfa697c77ebb6b68922d7afd93fc3c08e2d66.tar.gz
always show coverage output from tests
Change-Id: If3855c04d7b252132b6ed49813a642344284d7ef Signed-off-by: Doug Hellmann <doug@doughellmann.com>
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 8da167b..893047f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,9 @@ envlist = py34,py27,pep8,bandit
[testenv]
deps = -r{toxinidir}/test-requirements.txt
-commands = python setup.py testr --slowest --testr-args='{posargs}'
+commands =
+ python setup.py test --coverage --coverage-package-name=oslo_config --slowest --testr-args='{posargs}'
+ coverage report --show-missing
[testenv:pep8]
commands = flake8
@@ -13,6 +15,7 @@ commands = flake8
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py test --coverage --coverage-package-name=oslo_config --testr-args='{posargs}'
+ coverage report --show-missing
[testenv:venv]
commands = {posargs}