gwoe-antragspruefer/requirements-dev.txt
Dotty Dotter 3262f17458 build(#134): Coverage-Baseline (.coveragerc) + pytest-cov in dev-deps
Phase 3 von #134 / ADR 0007: 60%-Mindestschwelle pro Default-Lauf, mit
show_missing fuer schnelle Lueckenanalyse.

Konfiguration:
- source = app, omits Hilfs-Skripte (reindex_embeddings, sync_abgeordnetenwatch)
- exclude_lines: __repr__, NotImplementedError, __main__-Block,
  TYPE_CHECKING, Ellipsis-Stubs
- htmlcov-Ordner via .gitignore ausgeschlossen

Aufruf:
  pytest --cov=app --cov-report=term-missing
  pytest --cov=app --cov-report=html  # detaillierte HTML-Ansicht in htmlcov/

ADR 0007 (Test-Taxonomie) erklaert das Gesamtschema.
2026-04-28 02:05:39 +02:00

15 lines
339 B
Plaintext

# Test- und Entwicklungs-Abhängigkeiten — getrennt von requirements.txt,
# damit der prod-Container sie nicht installieren muss.
#
# Installation lokal:
# pip install -r requirements.txt -r requirements-dev.txt
#
# Tests laufen lassen:
# pytest -v tests/
-r requirements.txt
pytest>=8.0.0
pytest-asyncio>=0.24.0
pytest-cov>=5.0.0