From 3e08590600249134636361b114ca51f3a7f647c8 Mon Sep 17 00:00:00 2001 From: "ting.wang" Date: Wed, 24 Feb 2016 10:44:06 +0800 Subject: [PATCH] Improve tox to show coverage report on same window With this patch coverage report will be shown with the results when tox -e cover will be run. Change-Id: I96713a8dd5d82019631c9e48c1abd7a94e201569 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index cc1407f45..8add2fe36 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,9 @@ passenv = OS_* commands = {posargs} [testenv:cover] -commands = python setup.py test --coverage --testr-args='{posargs}' +commands = + python setup.py test --coverage --testr-args='{posargs}' + coverage report [testenv:debug] commands = oslo_debug_helper -t openstackclient/tests {posargs}