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:
Juan Antonio Osorio Robles 2015-09-28 11:57:16 +03:00
parent 08807350a2
commit fbb20d10f1
1 changed files with 4 additions and 1 deletions

View File

@ -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