summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarkus Holtermann <info@markusholtermann.eu>2015-06-23 20:52:32 +0200
committerMarkus Holtermann <info@markusholtermann.eu>2015-06-23 21:17:37 +0200
commit4202959b6febd02cdaa712c666fa0d79569038ca (patch)
treedae2c5868b5731b945bb8f99668afe2863924624 /tests
parent7bb7670ee4d3b77483d2e1d2337625f0f25df5bb (diff)
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".
Diffstat (limited to 'tests')
-rw-r--r--tests/.coveragerc9
1 files changed, 8 insertions, 1 deletions
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