forked from shaba/openuds
Added coverage support on testing
This commit is contained in:
parent
fe712d27b7
commit
0ed1f3ccee
1
server/src/.gitignore
vendored
1
server/src/.gitignore
vendored
@ -4,3 +4,4 @@
|
|||||||
/uds/static/clients/
|
/uds/static/clients/
|
||||||
/*.sqlite3*
|
/*.sqlite3*
|
||||||
.hypothesis
|
.hypothesis
|
||||||
|
htmlcov
|
||||||
|
5
server/src/coverage.ini
Normal file
5
server/src/coverage.ini
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[run]
|
||||||
|
|
||||||
|
[report]
|
||||||
|
|
||||||
|
[html]
|
@ -1,3 +1,4 @@
|
|||||||
[pytest]
|
[pytest]
|
||||||
DJANGO_SETTINGS_MODULE = server.settings
|
DJANGO_SETTINGS_MODULE = server.settings
|
||||||
python_files = tests.py test_*.py *_tests.py
|
python_files = tests.py test_*.py *_tests.py
|
||||||
|
addopts = --cov --cov-report html --cov-config=coverage.ini
|
||||||
|
Loading…
x
Reference in New Issue
Block a user