Merge "Move test requirement coverage into tox.ini"

This commit is contained in:
Jenkins 2014-08-13 14:29:56 +00:00 committed by Gerrit Code Review
commit 8ca6446f41
2 changed files with 3 additions and 5 deletions

View File

@ -7,10 +7,5 @@ testrepository>=0.0.17
testscenarios>=0.4
testtools>=0.9.32
# when we can require tox>= 1.4, this can go into tox.ini:
# [testenv:cover]
# deps = {[testenv]deps} coverage
coverage>=3.6
# mocking framework
mock>=1.0

View File

@ -15,10 +15,13 @@ commands = python setup.py testr --slowest --testr-args='{posargs}'
commands = flake8
[testenv:cover]
deps = {[testenv]deps}
coverage
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py testr --coverage
[testenv:venv]
commands = {posargs}