Make cover environment in tox display test coverage
Even though the test coverage environment already generates a coverage report in the cover/ directory. It's useful if the output of that environment is a quick ascii-based coverage report. Change-Id: I4770ab368e5df949797af80c4ad7a17fd6b0e6aa
This commit is contained in:
parent
08807350a2
commit
fbb20d10f1
5
tox.ini
5
tox.ini
|
@ -23,7 +23,10 @@ commands = {posargs}
|
|||
passenv = *
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
commands =
|
||||
python setup.py testr --coverage --testr-args='{posargs}'
|
||||
coverage combine
|
||||
coverage report -m
|
||||
|
||||
[testenv:docs]
|
||||
commands = python setup.py build_sphinx
|
||||
|
|
Loading…
Reference in New Issue