Support printing coverage report run tox -ecover
1. What is the problem It doesn't print the coverage report to the console when run tox -ecover for Tricircle. 2. What is the solution to the problem Add a line of 'coverage report' under the command of 'cover' tox target in tox.ini 3. What the features need to be implemented to the Tricircle to realize the solution None Change-Id: I85b8d0193eeb2374170fd327509751659f67a9ec
This commit is contained in:
parent
9bcfd0faa4
commit
a703ae6456
4
tox.ini
4
tox.ini
|
@ -26,7 +26,9 @@ commands = flake8
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
commands =
|
||||||
|
python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
coverage report
|
||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
deps =
|
deps =
|
||||||
|
|
Loading…
Reference in New Issue