-
Notifications
You must be signed in to change notification settings - Fork 982
/
pytest.ini
47 lines (41 loc) · 1.41 KB
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[pytest]
# Display console output. Disable cacheprovider:
addopts = --capture=no -p no:cacheprovider
# Skip these directories during test collection:
norecursedirs = .* build dist recordings temp assets
# Ignore DeprecationWarning, PytestUnknownMarkWarning
filterwarnings =
ignore::pytest.PytestWarning
ignore:.*U.*mode is deprecated:DeprecationWarning
# Configure the junit_family option explicitly:
junit_family = legacy
# Set pytest discovery rules:
# (Most of the rules here are similar to the default rules.)
# (Inheriting unittest.TestCase could override these rules.)
python_files = test_*.py *_test.py *_tests.py *_suite.py
python_classes = Test* *Test* *Test *Tests *Suite
python_functions = test_*
# Common pytest markers used in examples:
# (pytest may require marker registration to prevent warnings.)
# (Future versions may turn those marker warnings into errors.)
markers =
marker1: custom marker
marker2: custom marker
marker3: custom marker
marker_test_suite: custom marker
expected_failure: custom marker
local: custom marker
remote: custom marker
offline: custom marker
develop: custom marker
qa: custom marker
ci: custom marker
e2e: custom marker
ready: custom marker
smoke: custom marker
deploy: custom marker
active: custom marker
master: custom marker
release: custom marker
staging: custom marker
production: custom marker