[pytest] # Test discovery testpaths = tests python_files = test_*.py python_classes = Test* python_functions = test_* # Output options addopts = --strict-markers --tb=short --cov=app --cov-report=term-missing:skip-covered --cov-report=html --cov-report=xml --cov-fail-under=80 -v --color=yes # Async support asyncio_mode = auto # Markers markers = slow: marks tests as slow (deselect with '-m "not slow"') integration: marks tests as integration tests unit: marks tests as unit tests auth: marks tests related to authentication boards: marks tests related to boards images: marks tests related to images upload: marks tests related to file uploads # Coverage options [coverage:run] source = app omit = tests/* alembic/* app/__init__.py */migrations/* [coverage:report] precision = 2 show_missing = true skip_covered = false exclude_lines = pragma: no cover def __repr__ raise AssertionError raise NotImplementedError if __name__ == .__main__.: if TYPE_CHECKING: @abstractmethod