Browse Source

Cover now prints line numbers

Cover reports are more comprehensive and useful
for further test improvement.

Also removes unnecessary parameter, source,
of the coverage call, as it is defined inside
.coveragerc file.

Similar to the patch for validations-common.

Closes-bug: #1922726

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ife1e84e0a9e605144a2d7dfb8160ed5eab49bc41
changes/49/780849/6
Jiri Podivin 3 months ago
parent
commit
7cdeeebe30
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tox.ini

+ 2
- 2
tox.ini View File

@ -78,7 +78,7 @@ passenv = *
[testenv:cover]
setenv =
PYTHON=coverage run --source validations_libs --parallel-mode
PYTHON=coverage run --parallel-mode
HOME={envdir}
commands =
coverage erase
@ -86,7 +86,7 @@ commands =
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
coverage report
coverage report --show-missing
[testenv:docs]
deps =


Loading…
Cancel
Save