From 4202959b6febd02cdaa712c666fa0d79569038ca Mon Sep 17 00:00:00 2001 From: Markus Holtermann Date: Tue, 23 Jun 2015 20:52:32 +0200 Subject: [PATCH] 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". --- tests/.coveragerc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/.coveragerc b/tests/.coveragerc index 753386b21a..0176992feb 100644 --- a/tests/.coveragerc +++ b/tests/.coveragerc @@ -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