Add coverage report
Change-Id: Ia520e5f0e96612fe9d0223a2fba1f49bcaa5070f
This commit is contained in:
parent
d38fe0301d
commit
9c3f75621d
@ -51,4 +51,5 @@ fi
|
||||
|
||||
memcached &
|
||||
|
||||
python setup.py testr --slowest
|
||||
# Yield execution to venv command
|
||||
$*
|
@ -8,3 +8,4 @@ testrepository>=0.0.17
|
||||
testtools>=0.9.32
|
||||
testscenarios>=0.4
|
||||
zake>=0.0.9
|
||||
coverage>=3.6
|
||||
|
7
tox.ini
7
tox.ini
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user