feat: Add coverage report instructions

This commit is contained in:
moanos [he/him] 2025-01-18 18:29:04 +01:00
parent e399346c3e
commit 206cd282e6
2 changed files with 24 additions and 0 deletions

4
.coveragerc Normal file
View File

@ -0,0 +1,4 @@
[run]
omit =
*/migrations/*
*/tests/*

View File

@ -77,6 +77,26 @@ docker push moanos/notfellchen:latest
docker run -p8000:7345 moanos/notfellchen:latest
```
## Testing
Tests can be run with
```zsh
nf test src
```
If you want to report on code coverage run
```zsh
coverage run --source='.' src/manage.py test src
```
and
```
coverage report
```
## Geocoding
Geocoding services (search map data by name, address or postcode) are provided via the