mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +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:
parent
7bb7670ee4
commit
4202959b6f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user