Enable branch coverage and show report on the command line.
Closes #137
This commit is contained in:
3
tox.ini
3
tox.ini
@@ -11,7 +11,8 @@ deps =
|
|||||||
|
|
||||||
[testenv:coverage]
|
[testenv:coverage]
|
||||||
commands =
|
commands =
|
||||||
coverage run --source jsonschema [] {envbindir}/py.test
|
coverage run --branch --source jsonschema [] {envbindir}/py.test
|
||||||
|
coverage report --show-missing
|
||||||
coverage html
|
coverage html
|
||||||
deps =
|
deps =
|
||||||
{[testenv:notpy33]deps}
|
{[testenv:notpy33]deps}
|
||||||
|
Reference in New Issue
Block a user