SeleniumBase/pytest.ini

48 lines
1.4 KiB
INI
Raw Normal View History

[pytest]
2019-05-16 12:25:42 +08:00
2023-03-24 03:57:47 +08:00
# Display console output. Disable cacheprovider:
addopts = --capture=no -p no:cacheprovider
2023-03-24 03:57:47 +08:00
# Skip these directories during test collection:
norecursedirs = .* build dist recordings temp assets
2019-05-16 12:25:42 +08:00
2023-03-24 03:57:47 +08:00
# Ignore DeprecationWarning, PytestUnknownMarkWarning
2020-04-18 13:11:53 +08:00
filterwarnings =
ignore::pytest.PytestWarning
ignore:.*U.*mode is deprecated:DeprecationWarning
2019-05-16 12:25:42 +08:00
# Configure the junit_family option explicitly:
junit_family = legacy
2019-11-05 14:54:02 +08:00
# Set pytest discovery rules:
# (Most of the rules here are similar to the default rules.)
2023-03-24 03:57:47 +08:00
# (Inheriting unittest.TestCase could override these rules.)
2019-11-05 14:54:02 +08:00
python_files = test_*.py *_test.py *_tests.py *_suite.py
python_classes = Test* *Test* *Test *Tests *Suite
python_functions = test_*
2023-03-24 03:57:47 +08:00
# Common pytest markers used in examples:
# (pytest may require marker registration to prevent warnings.)
# (Future versions may turn those marker warnings into errors.)
2019-05-16 12:25:42 +08:00
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
2021-01-14 02:33:20 +08:00
ci: custom marker
e2e: custom marker
ready: custom marker
2021-01-14 02:33:20 +08:00
smoke: custom marker
deploy: custom marker
2020-08-08 13:07:10 +08:00
active: custom marker
master: custom marker
release: custom marker
staging: custom marker
production: custom marker