From 44375d654320606306c93fde6d0f3189df963b19 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Fri, 10 Mar 2017 10:10:52 -0600 Subject: [PATCH] Add threshold for code coverage 1. What is the problem? There is no mechaninsm to guarantee if the percentage of Unit Tests is reduced after submitting a patch. 2. What is the solution to the problem? Add a threshold into the gate job for ensuring a minimal percentage 3. What the features need to be implemented to the Tricircle to realize the solution? None Change-Id: I478d2ba2b9d60867ac3a48ddb19d8cb33ee67301 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a6ec9750..b2e96a29 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,7 @@ commands = {posargs} [testenv:cover] commands = python setup.py testr --coverage --testr-args='{posargs}' - coverage report + coverage report --fail-under=71 --skip-covered [testenv:genconfig] deps =