1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-22 22:03:54 +03:00

Added coverage support on testing

This commit is contained in:
Adolfo Gómez García 2022-08-16 00:18:32 +02:00
parent fe712d27b7
commit 0ed1f3ccee
3 changed files with 8 additions and 1 deletions

View File

@ -4,3 +4,4 @@
/uds/static/clients/
/*.sqlite3*
.hypothesis
htmlcov

5
server/src/coverage.ini Normal file
View File

@ -0,0 +1,5 @@
[run]
[report]
[html]

View File

@ -1,3 +1,4 @@
[pytest]
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