[pytest] testpaths = tests python_files = test_*.py python_functions = test_* python_classes = Test* asyncio_mode = auto addopts = -v --tb=short --cov=app --cov-report=term-missing --cov-report=html:coverage_html --cov-fail-under=0 filterwarnings = ignore::DeprecationWarning ignore::UserWarning markers = unit: Unit tests (no external dependencies) integration: Integration tests (require database/storage) slow: Slow tests (skip with -m "not slow") # Coverage configuration [coverage:run] source = app omit = */tests/* */__pycache__/* [coverage:report] exclude_lines = pragma: no cover def __repr__ raise NotImplementedError if __name__ == .__main__.: pass