forked from seleniumbase/SeleniumBase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
27 lines (22 loc) · 1015 Bytes
/
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
[pytest]
# Let console output be seen. Don't override the pytest plugin.
addopts = --capture=no --ignore conftest.py -p no:cacheprovider
# Ignore warnings such as DeprecationWarning and pytest.PytestUnknownMarkWarning
filterwarnings = ignore::pytest.PytestWarning
# Configure the junit_family option explicitly:
junit_family = legacy
# Set pytest discovery rules:
# (Most of the rules here are similar to the default rules.)
# (unittest.TestCase rules override the rules here for classes and functions.)
python_files = test_*.py *_test.py *_tests.py *_suite.py
python_classes = Test* *Test* *Test *Tests *Suite
python_functions = test_*
# Here are the pytest markers used in the example tests:
# (pytest v4.5.0 and newer requires marker registration to prevent warnings.)
# (Future versions of pytest 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