]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Improve tox to show coverage report on same window
authorManjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
Tue, 15 Dec 2015 21:06:24 +0000 (21:06 +0000)
committerManjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
Tue, 15 Dec 2015 21:36:45 +0000 (21:36 +0000)
with this patch coverage report will be shown with the results when
tox -e cover will be run

Change-Id: Ic975e65f1b3abadd90075e7f040c605e3740990f

tox.ini

diff --git a/tox.ini b/tox.ini
index befc62f9736bb8b8688299d1cd34e1f946a5bb9a..00fa0dcc9d1462a92b56ac8a12d83eb11fff31bf 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -127,6 +127,7 @@ whitelist_externals = {[testenv:pep8]whitelist_externals}
 basepython = python2.7
 commands =
   python setup.py testr --coverage --testr-args='{posargs}'
+  coverage report
 
 [testenv:cover-constraints]
 basepython = {[testenv:cover]basepython}