-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
39 lines (35 loc) · 1.87 KB
/
pytest.ini
File metadata and controls
39 lines (35 loc) · 1.87 KB
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
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# ── Output & reporting ────────────────────────────────────────────────────────
addopts =
--html=reports/report.html
--self-contained-html
--json-report
--json-report-file=reports/report.json
-v
--tb=short
--strict-markers
--reruns=2
--reruns-delay=2
# ── Timeouts ──────────────────────────────────────────────────────────────────
timeout = 60
# ── Markers ───────────────────────────────────────────────────────────────────
markers =
e2e: End-to-end browser UI tests
accessibility: WCAG accessibility tests using axe-core
visual: Visual regression screenshot comparison tests
api: HTTP-layer API tests (no browser)
performance: Page load and performance metric tests
smoke: Fast subset of critical tests for quick CI checks
regression: Full regression suite
regression_write: Write-side regression — only runs against SANDBOX_ORG_SLUG; opt-in via workflow_dispatch
auth: Tests that require a logged-in session (need TEST_EMAIL_1 / TEST_PASSWORD_1)
skip_on_ci: Tests to skip in CI environments
# ── Log output ────────────────────────────────────────────────────────────────
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)s] %(message)s
log_date_format = %Y-%m-%d %H:%M:%S