Add coverage report

Change-Id: Ia520e5f0e96612fe9d0223a2fba1f49bcaa5070f
This commit is contained in:
Yassine Lamgarchal 2014-08-19 14:44:36 +02:00
parent d38fe0301d
commit 9c3f75621d
3 changed files with 8 additions and 3 deletions

View File

@ -51,4 +51,5 @@ fi
memcached &
python setup.py testr --slowest
# Yield execution to venv command
$*

View File

@ -8,3 +8,4 @@ testrepository>=0.0.17
testtools>=0.9.32
testscenarios>=0.4
zake>=0.0.9
coverage>=3.6

View File

@ -9,14 +9,17 @@ deps = -r{toxinidir}/requirements.txt
install_command = pip install -U {opts} {packages}
usedevelop = True
commands =
bash -x {toxinidir}/run_tests.sh {posargs}
bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest --testr-args="{posargs}"
[testenv:venv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = {posargs}
[testenv:cover]
commands =
bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest --coverage --testr-args="{posargs}"
[testenv:pep8]
deps = hacking>=0.9.2,<0.10
commands =