2026-04-07 23:38:23 +08:00
|
|
|
[pytest]
|
|
|
|
|
testpaths = backend/tests
|
|
|
|
|
python_files = test_*.py
|
|
|
|
|
python_classes = Test*
|
|
|
|
|
python_functions = test_*
|
2026-06-08 11:51:39 +08:00
|
|
|
addopts = -v --tb=short --cov=backend --cov-report=term-missing --cov-report=html
|
2026-04-07 23:38:23 +08:00
|
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
|
omit =
|
|
|
|
|
backend/tests/*
|
|
|
|
|
backend/test_*.py
|
|
|
|
|
|
|
|
|
|
[coverage:report]
|
|
|
|
|
exclude_lines =
|
|
|
|
|
pragma: no cover
|
|
|
|
|
if TYPE_CHECKING:
|
|
|
|
|
raise NotImplementedError
|