mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:05:31 +02:00
Test coverage
This commit is contained in:
@@ -15,6 +15,7 @@ install_requires = [
|
||||
testing_extras = [
|
||||
'coverage',
|
||||
'nose',
|
||||
'nosexcover',
|
||||
'pylint',
|
||||
'tox',
|
||||
]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user