From 62bfa9e44dca53d8dada6aa79f9c1482e31c4deb Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Mon, 6 Mar 2017 11:24:05 -0500 Subject: 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. --- pytest.ini | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pytest.ini (limited to 'pytest.ini') 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 -- cgit v1.2.1