-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
13 lines (13 loc) · 954 Bytes
/
pytest.ini
File metadata and controls
13 lines (13 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
[pytest]
# --durations / --durations-min: surface the slowest tests in every run
# (Phase B1 of the test-cost revamp). Free signal — pytest collects the
# durations anyway; we just ask it to print the top 50 over 0.5s.
addopts = --ignore=setup.py --ignore=scratchpad.py --ignore=specification.py -m "not slow and not golden and not integration" -n 3 --durations=50 --durations-min=0.5
filterwarnings =
ignore::DeprecationWarning
markers =
integration: marks tests as integration tests (may download models and take time)
slow: marks tests that require model downloads and take >30s each
golden: marks tests that run real NLP models and compare against golden snapshots
mwt_probe: Stanza MWT probe matrix (subset of golden; per-language tokenization evidence). Run with `pytest -m "golden and mwt_probe"`.
decision_probe: Stanza normalization-decision probes (subset of golden). Run with `pytest -m "golden and decision_probe"`.