Browse Source

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
changes/94/444394/1
Victor Morales 4 years ago
parent
commit
44375d6543
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tox.ini

+ 1
- 1
tox.ini 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 =


Loading…
Cancel
Save