blob: b2d6f6740f452aa2aa43e5295cf209abd6c2d025 [file] [log] [blame]
Michael Foord1e68bec2012-03-03 22:24:30 +00001
2[unittest]
3plugins =
4 unittest2.plugins.debugger
5 unittest2.plugins.checker
6 unittest2.plugins.doctestloader
7 unittest2.plugins.matchregexp
8 unittest2.plugins.moduleloading
9 unittest2.plugins.testcoverage
10 unittest2.plugins.growl
11 unittest2.plugins.filtertests
12 unittest2.plugins.junitxml
13 unittest2.plugins.timed
14 unittest2.plugins.counttests
15 unittest2.plugins.logchannels
16
17excluded-plugins =
18
19# 0, 1 or 2 (default is 1)
20# quiet, normal or verbose
21# can be overriden at command line
22verbosity = normal
23
24# true or false
25# even if false can be switched on at command line
26catch =
27buffer =
28failfast =
29
30
31[matchregexp]
32always-on = False
33full-path = True
34
35[debugger]
36always-on = False
37errors-only = True
38
39[coverage]
40always-on = False
41config =
42report-html = False
43# only used if report-html is false
44annotate = False
45# defaults to './htmlcov/'
46html-directory =
47# if unset will output to console
48text-file =
49branch = False
50timid = False
51cover-pylib = False
52exclude-lines =
53 # Have to re-enable the standard pragma
54 pragma: no cover
55
56 # Don't complain about missing debug-only code:
57 def __repr__
58 if self\.debug
59
60 # Don't complain if tests don't hit defensive assertion code:
61 raise AssertionError
62 raise NotImplementedError
63
64 # Don't complain if non-runnable code isn't run:
65 if 0:
66 if __name__ == .__main__.
67
68ignore-errors = False
69modules =
70
71[growl]
72always-on = False
73
74[doctest]
75always-on = False
76
77[module-loading]
78always-on = False
79
80[checker]
81always-on = False
82pep8 = False
83pyflakes = True
84
85[junit-xml]
86always-on = False
87path = junit.xml
88
89[timed]
90always-on = True
91threshold = 0.01
92
93[count]
94always-on = True
95enhanced = False