summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorpawnesh.kumar <pawnesh.kumar@nectechnologies.in>2016-10-19 16:55:07 +0530
committerSteve Martinelli <s.martinelli@gmail.com>2016-11-10 15:50:20 +0000
commitdea52657e6523575db403f5236671d869357f51c (patch)
treec49192d0a8a7086716c0aa975f7c006475b28a04 /tox.ini
parent05a64576e6e705935c11ce310495f52a2f7e55e8 (diff)
downloadpython-keystoneclient-dea52657e6523575db403f5236671d869357f51c.tar.gz
Enable code coverage report in console output
Change the behaviour of tox -e cover to also print the coverage report to the console, rather than only creating html files that contain the report. This is a convenience change and should provide a better user experience. Change-Id: I10dca81fa600083ec5e0471e88aaa712a1e68bf6
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 83ba185..11016bd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -31,6 +31,7 @@ commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
+ coverage report
[testenv:debug]
commands = oslo_debug_helper -t keystoneclient/tests {posargs}