Test coverage

This commit is contained in:
Jakub Warmuz
2014-11-27 20:30:56 +01:00
parent f62ab0e351
commit 9d5ab7dbcc
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -15,6 +15,7 @@ install_requires = [
testing_extras = [
'coverage',
'nose',
'nosexcover',
'pylint',
'tox',
]
+6 -1
View File
@@ -4,13 +4,18 @@
# and then run "tox" from this directory.
[tox]
envlist = py26,py27,lint
envlist = py26,py27,cover,lint
[testenv]
commands =
python setup.py dev
python setup.py test -q # -q does not suppress errors
[testenv:cover]
commands =
python setup.py dev
python setup.py nosetests --with-xunit --with-xcoverage --cover-min-percentage=100
[testenv:lint]
commands =
python setup.py dev