-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpytest.ini
More file actions
32 lines (28 loc) · 1003 Bytes
/
pytest.ini
File metadata and controls
32 lines (28 loc) · 1003 Bytes
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
[pytest]
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
# Markers for test categorization
markers =
unit: Unit tests (fast, isolated)
integration: Integration tests (slower, requires setup)
performance: Performance benchmark tests
slow: Tests that take significant time to run
requires_mlx: Tests that require MLX arrays and Apple Silicon (expensive on CI)
requires_model: Tests that require loading actual models (very expensive)
requires_training: Tests that involve actual training (extremely expensive)
ci_safe: Tests safe to run on CI (abstractions, mocks, minimal compute)
# Coverage options (enabled by default)
# Note: --cov flags are passed in CI, but can be used locally:
# pytest --cov=src --cov-report=html --cov-report=term-missing --cov-fail-under=80
# Logging
log_cli = false
log_cli_level = INFO