1
0
mirror of https://github.com/django/django.git synced 2025-01-03 15:06:09 +00:00

Improved coverage configuration

By providing a .coveragerc file with all default settings, users only
have to execute "coverage run ./runtests.py" without the need to specify
all the possible flags. The same applies to "coverage html" and
"coverage xml".
This commit is contained in:
Markus Holtermann 2015-06-23 20:52:32 +02:00
parent 7bb7670ee4
commit 4202959b6f

View File

@ -1,8 +1,15 @@
[run] [run]
omit = */django/contrib/*/tests*,*/django/utils/autoreload.py branch = True
omit =
*/django/utils/autoreload.py
parallel = True
source = django
[report] [report]
ignore_errors = True ignore_errors = True
omit =
*/django/conf/locale/*
*/tests/*
[html] [html]
directory = coverage_html directory = coverage_html