Enable coverage report in console output
This will output coverage rate of every module in console. Change-Id: If9e24293ae8b4d7293721c2fa49562462d84ce8a
This commit is contained in:
parent
e55840dd82
commit
1924aba63a
|
@ -24,6 +24,7 @@ pip-log.txt
|
|||
|
||||
# Unit test / coverage reports
|
||||
.coverage
|
||||
cover
|
||||
.tox
|
||||
nosetests.xml
|
||||
.testrepository
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -27,7 +27,9 @@ setenv =
|
|||
OS_TEST_PATH = ./karborclient/tests/functional
|
||||
passenv = OS_*
|
||||
[testenv:cover]
|
||||
commands = python setup.py test --coverage --testr-args='{posargs}'
|
||||
commands =
|
||||
python setup.py test --coverage --testr-args='{posargs}'
|
||||
coverage report
|
||||
|
||||
[testenv:docs]
|
||||
commands = python setup.py build_sphinx
|
||||
|
|
Loading…
Reference in New Issue