rescored / backend /pytest.ini
calebhan's picture
mvp scope
44a2550
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Show extra test summary info
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
--cov=.
--cov-report=term-missing
--cov-report=html
--cov-branch
# Markers for categorizing tests
markers =
unit: Unit tests for individual functions
integration: Integration tests for multiple components
slow: Tests that take longer to run
gpu: Tests that require GPU
network: Tests that require network access
# Asyncio configuration
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Coverage options
[coverage:run]
omit =
tests/*
__pycache__/*
*/site-packages/*
venv/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING: