[pytest] # Pytest configuration for AudioForge backend # Test discovery patterns python_files = test_*.py python_classes = Test* python_functions = test_* # Test paths testpaths = tests # Async support asyncio_mode = auto # Coverage options addopts = --verbose --strict-markers --tb=short # Markers markers = slow: marks tests as slow (deselect with '-m "not slow"') integration: marks tests as integration tests unit: marks tests as unit tests asyncio: marks tests as async # Warnings filterwarnings = error ignore::UserWarning ignore::DeprecationWarning # Minimum coverage per file [coverage:run] source = app omit = */tests/* */test_*.py */__pycache__/* */venv/* */.venv/* [coverage:report] precision = 2 show_missing = True skip_covered = False [coverage:html] directory = htmlcov