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
1 changed files with 8 additions and 1 deletions

View File

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