diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..4662d2b --- /dev/null +++ b/pytest.ini @@ -0,0 +1,10 @@ +[pytest] +# Ensure pytest-asyncio is in auto mode for async tests without explicit markers. +asyncio_mode = auto + +# Run the backend test suite from the repository root. +testpaths = backend/tests +pythonpath = backend + +# Keep coverage output consistent with backend/pyproject.toml settings. +addopts = --cov=backend/app --cov-report=term-missing