diff --git a/.gitignore b/.gitignore index 31abd6d..6c2ccc5 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,7 @@ heat_cfntools.egg-info/ .stestr/ subunit.log .tox +.coverage +.coverage.* AUTHORS ChangeLog diff --git a/test-requirements.txt b/test-requirements.txt index 3c614d4..6158e3d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,4 @@ +coverage!=4.4,>=4.0 # Apache-2.0 hacking>=6.1.0,<6.2.0 # Apache-2.0 stestr>=2.0.0 testtools>=0.9.34 diff --git a/tox.ini b/tox.ini index ccea992..eee13a2 100644 --- a/tox.ini +++ b/tox.ini @@ -20,10 +20,12 @@ setenv = {[testenv]setenv} PYTHON=coverage run --source heat_cfntools --parallel-mode commands = + coverage erase stestr run {posargs} coverage combine coverage html -d cover coverage xml -o cover/coverage.xml + coverage report [testenv:venv] commands = {posargs}