Add code coverage script

This commit is contained in:
Sascha Ißbrücker 2021-05-14 12:23:11 +02:00
parent d643fca98f
commit 9aa17d0528
3 changed files with 8 additions and 0 deletions

2
.coveragerc Normal file
View file

@ -0,0 +1,2 @@
[run]
source = bookmarks

5
coverage.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
coverage erase
coverage run manage.py test
coverage report --sort=cover

View file

@ -2,6 +2,7 @@ beautifulsoup4==4.7.1
certifi==2019.6.16 certifi==2019.6.16
chardet==3.0.4 chardet==3.0.4
confusable-homoglyphs==3.2.0 confusable-homoglyphs==3.2.0
coverage==5.5
Django==2.2.20 Django==2.2.20
django-appconf==1.0.3 django-appconf==1.0.3
django-compressor==2.3 django-compressor==2.3