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
This commit is contained in:
Victor Morales 2017-03-10 10:10:52 -06:00
parent 3e15d42dd9
commit 44375d6543
1 changed files with 1 additions and 1 deletions

View File

@ -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 =