diff --git a/backend/pytest.ini b/backend/pytest.ini index 7f041e8..eae13df 100644 --- a/backend/pytest.ini +++ b/backend/pytest.ini @@ -5,3 +5,4 @@ asyncio_default_test_loop_scope = session testpaths = tests python_files = test_*.py python_functions = test_* +addopts = --cov=app --cov-report=term-missing diff --git a/backend/requirements.txt b/backend/requirements.txt index d9a50ec..2a484ee 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -22,6 +22,7 @@ icalendar==7.0.3 pytest==9.0.2 pytest-asyncio==1.3.0 pytest-httpx==0.36.0 +pytest-cov==7.0.0 aiosqlite==0.22.1 weasyprint==68.1 typer==0.25.1