test and coverage script helper
This commit is contained in:
parent
d881679b7e
commit
3a1010e19a
2 changed files with 14 additions and 0 deletions
9
coverage.sh
Executable file
9
coverage.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# you must install coverage before executing this script
|
||||
# pip install coverage
|
||||
|
||||
. env/bin/activate
|
||||
|
||||
coverage run --source=issue --omit=issue/migrations/*.py manage.py test
|
||||
coverage report
|
Loading…
Add table
Add a link
Reference in a new issue