add coverage requirement and run test shell script

This commit is contained in:
virusdefender
2015-08-04 18:38:00 +08:00
parent c72624e2d5
commit 76aba7f0e7
3 changed files with 8 additions and 1 deletions
+1
View File
@@ -6,3 +6,4 @@ djangorestframework
django-rest-swagger django-rest-swagger
celery celery
gunicorn gunicorn
coverage
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
python manage.py runserver
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
coverage run --source='.' manage.py test
nose html
open htmlcov/index.html