start playing with tox & coverage
This commit is contained in:
parent
de18189a9d
commit
6f7dc82ca9
|
@ -0,0 +1,7 @@
|
||||||
|
[run]
|
||||||
|
source=
|
||||||
|
.
|
||||||
|
omit=
|
||||||
|
.tox/*
|
||||||
|
setup.py
|
||||||
|
secretquestions/migrations/*
|
|
@ -1,3 +1,5 @@
|
||||||
*egg-info
|
*egg-info
|
||||||
*.pyc
|
*.pyc
|
||||||
.tox
|
.tox
|
||||||
|
htmlcov
|
||||||
|
.coverage
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -4,9 +4,11 @@ envlist = django1.3, django1.4
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
django-registration==0.8
|
django-registration==0.8
|
||||||
|
coverage
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
django-admin.py test secretquestions --settings=secretquestions.tests.settings
|
coverage run {envdir}/bin/django-admin.py test secretquestions --settings=secretquestions.tests.settings
|
||||||
|
coverage report
|
||||||
|
|
||||||
[testenv:django1.3]
|
[testenv:django1.3]
|
||||||
deps =
|
deps =
|
||||||
|
|
Reference in New Issue