diff options
author | Bin Yang <bin.yang@windriver.com> | 2017-10-19 09:52:51 +0800 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2017-10-19 09:52:51 +0800 |
commit | a278a76179ff06861df81643ef1cf4fc6e3ef3ea (patch) | |
tree | 857b1c4e8369c50b7d2cb61e4ff36e06cfe0d488 /ocata/tox.ini | |
parent | 59caaba8c52198f6072a5053d81d7e14c2b0ce66 (diff) |
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 <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'ocata/tox.ini')
-rw-r--r-- | ocata/tox.ini | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ocata/tox.ini b/ocata/tox.ini index 05ef3c70..dcd7033e 100644 --- a/ocata/tox.ini +++ b/ocata/tox.ini @@ -9,6 +9,7 @@ downloadcache = ~/cache/pip setenv = PYTHONPATH = {toxinidir}/../newton deps = -r{toxinidir}/requirements.txt -commands = coverage run --branch manage.py test ocata - coverage html --omit=".tox*,*test*,*__init__.py" -d htmlcov +commands = + coverage run --branch manage.py test + coverage report --omit=".tox/*,*tests*,*__init__.py,*newton*" --fail-under=30 |