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
This commit is contained in:
parent
58be3bcf79
commit
3e08590600
4
tox.ini
4
tox.ini
@ -22,7 +22,9 @@ passenv = OS_*
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py test --coverage --testr-args='{posargs}'
|
commands =
|
||||||
|
python setup.py test --coverage --testr-args='{posargs}'
|
||||||
|
coverage report
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
commands = oslo_debug_helper -t openstackclient/tests {posargs}
|
commands = oslo_debug_helper -t openstackclient/tests {posargs}
|
||||||
|
Loading…
Reference in New Issue
Block a user