Commit 5ef277b6 by John Whitlock

Add coverage to test run

parent 1718bc6b
...@@ -24,6 +24,7 @@ deps = ...@@ -24,6 +24,7 @@ deps =
django111: Django>=1.11,<1.12 django111: Django>=1.11,<1.12
django-master: https://github.com/django/django/archive/master.tar.gz django-master: https://github.com/django/django/archive/master.tar.gz
jinja2 jinja2
coverage
jsmin==2.2.0 jsmin==2.2.0
ply==3.4 ply==3.4
slimit==0.8.1 slimit==0.8.1
...@@ -31,7 +32,8 @@ setenv = ...@@ -31,7 +32,8 @@ setenv =
DJANGO_SETTINGS_MODULE = tests.settings DJANGO_SETTINGS_MODULE = tests.settings
PYTHONPATH = {toxinidir} PYTHONPATH = {toxinidir}
commands = commands =
{envbindir}/django-admin.py test {posargs:tests} {envbindir}/coverage run --source pipeline {envbindir}/django-admin.py test {posargs:tests}
{envbindir}/coverage report
[testenv:docs] [testenv:docs]
basepython = python2.7 basepython = python2.7
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment