test: add coverage reporting

This commit is contained in:
2026-06-21 14:25:02 +03:30
parent 24ee55a069
commit d04dca2646
4 changed files with 37 additions and 0 deletions

View File

@@ -1012,6 +1012,13 @@ cd backend
$env:TEST_DATABASE_ENGINE='sqlite'; .\.venv\Scripts\python.exe -m pytest
```
Run backend tests with coverage:
```powershell
cd backend
$env:TEST_DATABASE_ENGINE='sqlite'; .\.venv\Scripts\python.exe -m pytest --cov --cov-report=term-missing
```
The test suite covers:
- successful claim