-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
21 lines (18 loc) · 843 Bytes
/
Copy pathpytest.ini
File metadata and controls
21 lines (18 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[pytest]
; ---------------------------------------------------------------------------
; pytest.ini
; Central pytest configuration.
;
; I. talking point:
; Keeping markers + CLI defaults in one file means every engineer/CI runner
; uses the same execution rules -- no "works on my machine" drift.
; ---------------------------------------------------------------------------
markers =
smoke: quick sanity checks run on every commit (CI gate)
regression: full regression suite, run nightly
contract: consumer-driven contract / schema validation tests
negative: invalid-input / error-path tests
; Run tests in parallel across 4 workers (pytest-xdist) -- used for
; "how do you reduce regression suite execution time" I. answers.
addopts = -v --strict-markers -n auto --html=report.html --self-contained-html
testpaths = tests