feat: Add coverage report instructions
This commit is contained in:
parent
e399346c3e
commit
206cd282e6
4
.coveragerc
Normal file
4
.coveragerc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[run]
|
||||||
|
omit =
|
||||||
|
*/migrations/*
|
||||||
|
*/tests/*
|
20
README.md
20
README.md
@ -77,6 +77,26 @@ docker push moanos/notfellchen:latest
|
|||||||
docker run -p8000:7345 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
|
||||||
|
|
||||||
Geocoding services (search map data by name, address or postcode) are provided via the
|
Geocoding services (search map data by name, address or postcode) are provided via the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user