diff --git a/coverage.sh b/coverage.sh new file mode 100755 index 0000000..a4aea5c --- /dev/null +++ b/coverage.sh @@ -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 diff --git a/runtest.sh b/runtest.sh new file mode 100755 index 0000000..104b708 --- /dev/null +++ b/runtest.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +. env/bin/activate + +./manage.py test