Move to juno test runner
This commit is contained in:
parent
8a3c6a7851
commit
556f6086bd
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,3 +5,5 @@
|
||||
/static/
|
||||
/.coverage
|
||||
/htmlcov/
|
||||
/test_failures.txt
|
||||
/test_rerun.txt
|
||||
|
8
Makefile
Normal file
8
Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
APPENDCOV = $(shell test -s test_rerun.txt && echo "-a")
|
||||
|
||||
test:
|
||||
coverage run $(APPENDCOV) \
|
||||
--source "duckbook,booking,api,accounts" \
|
||||
manage.py test `cat test_rerun.txt`
|
||||
coverage html
|
||||
coverage report
|
4
dev-requirements.txt
Normal file
4
dev-requirements.txt
Normal file
@ -0,0 +1,4 @@
|
||||
-r requirements.txt
|
||||
coverage==4.0.1
|
||||
django-coverage-plugin==1.0
|
||||
django-juno-testrunner==0.3.1
|
@ -87,6 +87,8 @@ USE_TZ = True
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = 'static'
|
||||
|
||||
TEST_RUNNER = 'junorunner.testrunner.TestSuiteRunner'
|
||||
|
||||
MAX_DUCK_LEVEL = 5
|
||||
COMP_WARN_LEVEL = 2
|
||||
MIN_FUZZY_SIMILARITY = 75
|
||||
|
Loading…
Reference in New Issue
Block a user