Add coverage report

This commit is contained in:
jpic 2016-06-15 21:44:36 +02:00
parent 2f27d04c86
commit 049d6f65ae

11
tox.ini
View File

@ -1,18 +1,25 @@
[tox] [tox]
envlist = py{27,35} envlist = py{27,35}
[base]
commands =
coverage report -m
[testenv] [testenv]
usedevelop = true usedevelop = true
commands = commands =
python -m unittest coverage run -m unittest
{[base]commands}
deps = deps =
asgiref asgiref
twisted twisted
autobahn autobahn
coverage
[testenv:py27] [testenv:py27]
commands = commands =
python -m unittest2 coverage run -m unittest2
{[base]commands}
deps = deps =
unittest2 unittest2
{[testenv]deps} {[testenv]deps}