Skip to content

Commit 3e08590

Browse files
author
ting.wang
committed
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
1 parent 58be3bc commit 3e08590

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ passenv = OS_*
2222
commands = {posargs}
2323

2424
[testenv:cover]
25-
commands = python setup.py test --coverage --testr-args='{posargs}'
25+
commands =
26+
python setup.py test --coverage --testr-args='{posargs}'
27+
coverage report
2628

2729
[testenv:debug]
2830
commands = oslo_debug_helper -t openstackclient/tests {posargs}

0 commit comments

Comments
 (0)