File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ [pytest]
2+
3+ # Let console output be seen. Don't override the pytest plugin.
4+ addopts = --capture =no --ignore conftest.py -p no:cacheprovider
5+
6+ # Ignore warnings such as DeprecationWarning and pytest.PytestUnknownMarkWarning
7+ filterwarnings =
8+ ignore::pytest.PytestWarning
9+ ignore:.*U.*mode is deprecated:DeprecationWarning
10+
11+ # Configure the junit_family option explicitly:
12+ junit_family = legacy
13+
14+ # Set pytest discovery rules:
15+ # (Most of the rules here are similar to the default rules.)
16+ # (unittest.TestCase rules override the rules here for classes and functions.)
17+ python_files = test_*.py *_test.py *_tests.py *_suite.py *_test_*.py
18+ python_classes = Test* *Test* *Test *Tests *Suite
19+ python_functions = test_*
20+
21+ # Here are the pytest markers used in the example tests:
22+ # (pytest v4.5.0 and newer requires marker registration to prevent warnings.)
23+ # (Future versions of pytest may turn those marker warnings into errors.)
24+ markers =
25+ marker1: custom marker
26+ marker2: custom marker
27+ marker3: custom marker
28+ marker_test_suite: custom marker
29+ expected_failure: custom marker
30+ local: custom marker
31+ remote: custom marker
32+ offline: custom marker
33+ develop: custom marker
34+ qa: custom marker
35+ ready: custom marker
36+ active: custom marker
37+ master: custom marker
38+ release: custom marker
39+ staging: custom marker
40+ production: custom marker
You can’t perform that action at this time.
0 commit comments