summaryrefslogtreecommitdiffstats
path: root/utils/.coveragerc
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2017-02-20 12:36:23 -0500
committerGitHub <noreply@github.com>2017-02-20 12:36:23 -0500
commit3d80a37685da4948aad62419e49335cb5a140826 (patch)
tree2dabc7c9bee247b9e85a10ed4178765a54f7fe6c /utils/.coveragerc
parentbc26f6b0fc90d4501161e16dcf68130d03ca06a7 (diff)
parentdf1fd5b8f97c69eef10c02f317b62755c4519d92 (diff)
downloadopenshift-3d80a37685da4948aad62419e49335cb5a140826.tar.gz
openshift-3d80a37685da4948aad62419e49335cb5a140826.tar.bz2
openshift-3d80a37685da4948aad62419e49335cb5a140826.tar.xz
openshift-3d80a37685da4948aad62419e49335cb5a140826.zip
Merge pull request #3419 from rhcarvalho/pytest
Migrate from nose to pytest
Diffstat (limited to 'utils/.coveragerc')
-rw-r--r--utils/.coveragerc15
1 files changed, 14 insertions, 1 deletions
diff --git a/utils/.coveragerc b/utils/.coveragerc
index e1d918755..551e13192 100644
--- a/utils/.coveragerc
+++ b/utils/.coveragerc
@@ -1,5 +1,18 @@
[run]
-omit=
+branch = True
+omit =
*/lib/python*/site-packages/*
*/lib/python*/*
/usr/*
+ setup.py
+ # TODO(rhcarvalho): this is used to ignore test files from coverage report.
+ # We can make this less generic when we stick with a single test pattern in
+ # the repo.
+ test_*.py
+ *_tests.py
+
+[report]
+fail_under = 73
+
+[html]
+directory = cover