From 9004321aaaa3bcd2262a841c7dc6683ee0a98f94 Mon Sep 17 00:00:00 2001 From: Surya Prakash Singh Date: Tue, 17 Jan 2017 12:50:24 +0530 Subject: Code coverage improvement for kolla This patch add the coverage tool package to test-requirements.txt which was missing, while kolla support coverage. In addtion to this tox.ini coverage command is modified to reflect the coverage report in standard output whenever "tox -e cover" command run for better representation of coverage report. Change-Id: I7f77c8d5320a7d180586ce1e8773a4f294846331 Partially-Implements: blueprint coverage-increment-for-kolla --- tox.ini | 1 + 1 file changed, 1 insertion(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 549c4894c..3c4d2aa11 100644 --- a/tox.ini +++ b/tox.ini @@ -28,6 +28,7 @@ setenv = VIRTUAL_ENV={envdir} NOSE_COVER_HTML=1 NOSE_COVER_HTML_DIR={toxinidir}/cover commands = python setup.py testr --coverage --testr-args='{posargs}' + coverage report --show-missing [testenv:pep8] commands = -- cgit v1.2.3