Improve coverage report

This creates a HTML coverage report with branch coverage information.

Change-Id: I26e5b65d3288ffa517dcfccb3dbf0c533d6bf8d2
This commit is contained in:
MORITA Kazutaka 2014-04-16 10:44:35 +09:00
parent a4a6d397dc
commit c0d14da8a4
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -8,6 +8,7 @@
.coverage
build
dist
cover
#
# for GLOBAL

View File

@ -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