Merge pull request #73 from gnuoy/add-test-coverage-report

Add coverage report to unit tests
This commit is contained in:
Alex Kavanagh
2018-06-21 10:32:33 +01:00
committed by GitHub
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -4,5 +4,6 @@ build/
dist/
.local
zaza.egg-info/
.coverage
# Sphinx
doc/build
+1
View File
@@ -6,6 +6,7 @@ PyYAML
flake8>=2.2.4,<=3.5.0
flake8-docstrings
flake8-per-file-ignores
coverage
mock>=1.2
nose>=1.3.7
pbr>=1.8.0,<1.9.0
+1 -1
View File
@@ -7,7 +7,7 @@ setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
install_command =
pip install {opts} {packages}
commands = nosetests {posargs} {toxinidir}/unit_tests
commands = nosetests --with-coverage --cover-package=zaza {posargs} {toxinidir}/unit_tests
[testenv:py3]
basepython = python3