-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpytest.ini
More file actions
18 lines (16 loc) · 867 Bytes
/
pytest.ini
File metadata and controls
18 lines (16 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[pytest]
markers =
slow: marks tests as slow (capacity stress: 100+ systems)
gpu: tests requiring GPU hardware
integration: multi-system integration tests
benchmark: performance or micro-benchmark tests
stress: stress / soak tests (may be slow or memory-heavy)
cuda: tests requiring CUDA-capable GPU.
# Default discovery should only cover the curated unit/integration suite under `tests/`.
# Diagnostic scripts under `scripts/` and ad-hoc repo-root `test_*.py` files can still be
# executed explicitly, but are excluded from the default `pytest` run to avoid
# import-time GPU allocations / compilation.
testpaths = tests
# Exclude deprecated / experimental code under Old_Attempts from test discovery.
addopts = --ignore=Old_Attempts --ignore=scripts -m "not benchmark and not stress"
norecursedirs = Old_Attempts scripts benchmarks stress