From 538cbb0437ae68c807d8be2342c70e7ed2fd032c Mon Sep 17 00:00:00 2001 From: patrick Date: Wed, 2 Sep 2026 22:47:31 +0200 Subject: [PATCH] test(coverage): pytest-cov einbauen (term-missing Report) Kein --cov-fail-under noch gesetzt, erst Baseline auf 137 ermitteln. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015Ahyx6D3r7G1EuAc42nezn --- backend/pytest.ini | 1 + backend/requirements.txt | 1 + 2 files changed, 2 insertions(+) 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