-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
27 lines (23 loc) · 782 Bytes
/
pytest.ini
File metadata and controls
27 lines (23 loc) · 782 Bytes
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]
# This section registers your custom markers to avoid warnings.
markers =
smoke: marks tests as smoke tests
regression: marks tests as regression tests
critical: marks tests as critical tests
login: marks tests related to login functionality
framework_check: marks tests for framework sanity
sanity: marks tests as basic sanity checks
# This section sets the default command-line options for every run.
addopts =
-ra
-v
--strict-markers
--alluredir=reports/allure-results
--clean-alluredir
--html=reports/html_report.html
--self-contained-html
# This section tells pytest where to find tests (optional, as these are defaults)
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*