-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
20 lines (15 loc) · 714 Bytes
/
pytest.ini
File metadata and controls
20 lines (15 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[pytest]
# Direct test discovery
testpaths = tests
# Move cache to writable tmp to avoid permission denied in devcontainer bind mounts
cache_dir = /tmp/pytest_cache
# Show extra summary info (-ra) and fail fast on first failure optionally (commented)
# addopts = -ra -x
# Default addopts: enable warnings display, and allow coverage to be enabled via CLI
addopts = -ra
# Strict markers placeholder (define custom markers here if needed)
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks integration tests requiring external services
# Filter out noisy 3rd party deprecation warnings if desired
# (example) filterwarnings = ignore::DeprecationWarning:somepackage.*