Improve coverage report
This creates a HTML coverage report with branch coverage information. Change-Id: I26e5b65d3288ffa517dcfccb3dbf0c533d6bf8d2
This commit is contained in:
parent
a4a6d397dc
commit
c0d14da8a4
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@
|
||||
.coverage
|
||||
build
|
||||
dist
|
||||
cover
|
||||
|
||||
#
|
||||
# for GLOBAL
|
||||
|
4
tox.ini
4
tox.ini
@ -21,7 +21,11 @@ commands = {posargs}
|
||||
[testenv:cover]
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
NOSE_WITH_COVERAGE=1
|
||||
NOSE_COVER_BRANCHES=1
|
||||
NOSE_COVER_PACKAGE=swift3
|
||||
NOSE_COVER_HTML=1
|
||||
NOSE_COVER_HTML_DIR={toxinidir}/cover
|
||||
NOSE_COVER_ERASE=1
|
||||
|
||||
[tox:jenkins]
|
||||
downloadcache = ~/cache/pip
|
||||
|
Loading…
x
Reference in New Issue
Block a user