Enable coverage report in console output

This will output coverage rate of every module in console.

Change-Id: Iffa984bd404d7f197786029d5f50ee3b0a2e3e49
This commit is contained in:
Jeremy Liu 2017-03-06 17:41:14 +08:00
parent c59ac73afb
commit c2af2c8f5a
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,9 @@ commands = bandit-baseline -r bandit -ll -ii
[testenv:cover]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --coverage --testr-args='{posargs}'
commands =
python setup.py testr --coverage --testr-args='{posargs}'
coverage report
[testenv:openstack_coverage]
deps = PyYAML>=3.1.0