summaryrefslogtreecommitdiffstats
path: root/pytest.ini
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2017-03-06 12:38:45 -0500
committerGitHub <noreply@github.com>2017-03-06 12:38:45 -0500
commitc84081d84d39420d56d88d37d0e93e7cb473c430 (patch)
tree7c87947fe6da4131fe49da44a2da8bafdb46b3ca /pytest.ini
parent6a002fb9641d2631038bba8d80e5467f312fa0db (diff)
parent62bfa9e44dca53d8dada6aa79f9c1482e31c4deb (diff)
downloadopenshift-c84081d84d39420d56d88d37d0e93e7cb473c430.tar.gz
openshift-c84081d84d39420d56d88d37d0e93e7cb473c430.tar.bz2
openshift-c84081d84d39420d56d88d37d0e93e7cb473c430.tar.xz
openshift-c84081d84d39420d56d88d37d0e93e7cb473c430.zip
Merge pull request #3566 from detiber/testConfigs
separate out test tool configs from setup.cfg
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini18
1 files changed, 18 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
new file mode 100644
index 000000000..fec074f90
--- /dev/null
+++ b/pytest.ini
@@ -0,0 +1,18 @@
+[pytest]
+norecursedirs =
+ .*
+ __pycache__
+ cover
+ docs
+ # utils has it's own config
+ utils
+python_files =
+ # TODO(rhcarvalho): rename test files to follow a single pattern. "test*.py"
+ # is Python unittest's default, while pytest discovers both "test_*.py" and
+ # "*_test.py" by default.
+ test_*.py
+ *_tests.py
+addopts =
+ --cov=.
+ --cov-report=term
+ --cov-report=html