Accept Merge Request #12 : (virusdefender-dev -> dev)
Merge Request: add coverage requirement and run test shell script Created By: @virusdefender Accepted By: @esp URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/12
This commit is contained in:
@@ -6,3 +6,4 @@ djangorestframework
|
||||
django-rest-swagger
|
||||
celery
|
||||
gunicorn
|
||||
coverage
|
||||
2
tools/runserver.sh
Normal file
2
tools/runserver.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
python manage.py runserver
|
||||
4
tools/runtest.sh
Normal file
4
tools/runtest.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
coverage run --source='.' manage.py test
|
||||
nose html
|
||||
open htmlcov/index.html
|
||||
Reference in New Issue
Block a user