Browse Source

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
changes/79/415879/2
LiuSheng 5 years ago
committed by liusheng
parent
commit
a703ae6456
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      tox.ini

+ 3
- 1
tox.ini View File

@ -26,7 +26,9 @@ commands = flake8
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
commands =
python setup.py testr --coverage --testr-args='{posargs}'
coverage report
[testenv:genconfig]
deps =


Loading…
Cancel
Save