turn on code coverage for test runs
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
68c3636d87
commit
39e314bb5a
4
tox.ini
4
tox.ini
|
@ -10,7 +10,9 @@ setenv =
|
|||
VIRTUAL_ENV={envdir}
|
||||
PYTHONWARNINGS=default::DeprecationWarning
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = python setup.py test --slowest --testr-args='{posargs}'
|
||||
commands =
|
||||
python setup.py test --coverage --coverage-package-name=whereto --slowest --testr-args='{posargs}'
|
||||
coverage report --show-missing
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8 {posargs}
|
||||
|
|
Loading…
Reference in New Issue