summaryrefslogtreecommitdiffstats
path: root/pytest.ini
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2017-03-06 11:24:05 -0500
committerJason DeTiberus <jdetiber@redhat.com>2017-03-06 12:13:43 -0500
commit62bfa9e44dca53d8dada6aa79f9c1482e31c4deb (patch)
tree219d07ad6ac1d0d3865b4be6730f124b8a3ebaa3 /pytest.ini
parent354d4e41b4693bc055dfb0a8e302088e0b978408 (diff)
downloadopenshift-62bfa9e44dca53d8dada6aa79f9c1482e31c4deb.tar.gz
openshift-62bfa9e44dca53d8dada6aa79f9c1482e31c4deb.tar.bz2
openshift-62bfa9e44dca53d8dada6aa79f9c1482e31c4deb.tar.xz
openshift-62bfa9e44dca53d8dada6aa79f9c1482e31c4deb.zip
separate out test tool configs from setup.cfg
Since we are moving away from setuptools for invoking tests, lets move the configs for the different test tools into their own configs.
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