From a278a76179ff06861df81643ef1cf4fc6e3ef3ea Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Thu, 19 Oct 2017 09:52:51 +0800 Subject: Add a UT threshold This change helps to monitor and detect changes that reduce the porcentage of the Unit test coverage. Change-Id: I289f4c2f9d13b5531b8d7580f62a3a7ba5f3ee5f Signed-off-by: Victor Morales Issue-Id: MULTICLOUD-83 Signed-off-by: Bin Yang --- windriver/tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'windriver/tox.ini') diff --git a/windriver/tox.ini b/windriver/tox.ini index 764cf01c..90357d66 100644 --- a/windriver/tox.ini +++ b/windriver/tox.ini @@ -9,6 +9,6 @@ downloadcache = ~/cache/pip setenv = PYTHONPATH = {toxinidir}/../newton deps = -r{toxinidir}/requirements.txt -commands = coverage run --branch manage.py test titanium_cloud - coverage html --omit=".tox*,*test*,*__init__.py" -d htmlcov - +commands = + coverage run --branch manage.py test titanium_cloud + coverage report --omit=".tox/*,*tests*,*__init__.py,*newton*" --fail-under=30 -- cgit 1.2.3-korg