40 lines
803 B
INI
40 lines
803 B
INI
[pytest]
|
|
# Pytest configuration for foxhunt_runpod tests
|
|
|
|
# Test discovery
|
|
testpaths = tests/foxhunt_runpod
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Output options
|
|
addopts =
|
|
-v
|
|
--strict-markers
|
|
--tb=short
|
|
--cov=foxhunt_runpod
|
|
--cov-report=term-missing
|
|
--cov-report=html:htmlcov
|
|
--cov-report=xml:coverage.xml
|
|
|
|
# Markers
|
|
markers =
|
|
slow: marks tests as slow (deselect with '-m "not slow"')
|
|
integration: marks tests as integration tests requiring external services
|
|
unit: marks tests as unit tests (fast, isolated)
|
|
|
|
# Coverage options
|
|
[coverage:run]
|
|
source = foxhunt_runpod
|
|
omit =
|
|
*/tests/*
|
|
*/test_*.py
|
|
*/__pycache__/*
|
|
*/venv/*
|
|
*/.venv/*
|
|
|
|
[coverage:report]
|
|
precision = 2
|
|
show_missing = True
|
|
skip_covered = False
|