diff --git a/tox.ini b/tox.ini index d1ad59f9d..bd594b7ab 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,11 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:venv] commands = {posargs} +[testenv:cover] +commands = + coverage run --branch --include "ironic_inspector*" -m unittest discover ironic_inspector.test + coverage report -m + [testenv:pep8] basepython = python2.7 commands =