[pytest] # Pytest configuration for StrategIQ # Test discovery patterns python_files = test_*.py *_test.py python_classes = Test* python_functions = test_* # Test paths testpaths = tests # Minimum version minversion = 7.0 # Output options addopts = -v --strict-markers --tb=short --disable-warnings --cov=src --cov-report=term-missing --cov-report=html:htmlcov --cov-report=xml # Markers for organizing tests markers = unit: Unit tests (fast, isolated) integration: Integration tests (slower, requires services) e2e: End-to-end tests (full system) slow: Tests that take significant time pdf: PDF generation tests api: API endpoint tests db: Database-dependent tests # Asyncio configuration asyncio_mode = auto # Coverage [coverage:run] source = src omit = */tests/* */.venv/* */migrations/* [coverage:report] exclude_lines = pragma: no cover def __repr__ raise AssertionError raise NotImplementedError if __name__ == .__main__.: if TYPE_CHECKING: @abstractmethod