-
Notifications
You must be signed in to change notification settings - Fork 4
/
pytest.ini
15 lines (15 loc) · 1.13 KB
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[pytest]
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
norecursedirs = .* build dist {arch} *.egg adhoc examples notebook experiment mckit/parser data out wrk
testpaths=tests
#usefixtures (args) list of default fixtures to be used with this project
python_files=test*.py # (args) glob-style file patterns for Python test module discovery
python_classes=Test* # (args) prefixes or glob names for Python test class discovery
python_functions=test_* profile_* # (args) prefixes or glob names for Python test function and method discovery
#xfail_strict (bool) default for the strict parameter of xfail markers when not given explicitly (default: Fals
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ALLOW_UNICODE ALLOW_BYTES
addopts = --strict-markers --ignore setup.py --ignore *_tab.py --doctest-modules --color=yes
# coverage doesn't allow to work with PyCharm debugger, run test_coverage.sh script to update coverage
#addopts = --ignore setup.py --doctest-modules --doctest-glob='*.rst' --cov-report term-missing --cov m2t
#minversion (string) minimally required pytest version