Michael Foord | 1e68bec | 2012-03-03 22:24:30 +0000 | [diff] [blame] | 1 | |
| 2 | [unittest] |
| 3 | plugins = |
| 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 | |
| 17 | excluded-plugins = |
| 18 | |
| 19 | # 0, 1 or 2 (default is 1) |
| 20 | # quiet, normal or verbose |
| 21 | # can be overriden at command line |
| 22 | verbosity = normal |
| 23 | |
| 24 | # true or false |
| 25 | # even if false can be switched on at command line |
| 26 | catch = |
| 27 | buffer = |
| 28 | failfast = |
| 29 | |
| 30 | |
| 31 | [matchregexp] |
| 32 | always-on = False |
| 33 | full-path = True |
| 34 | |
| 35 | [debugger] |
| 36 | always-on = False |
| 37 | errors-only = True |
| 38 | |
| 39 | [coverage] |
| 40 | always-on = False |
| 41 | config = |
| 42 | report-html = False |
| 43 | # only used if report-html is false |
| 44 | annotate = False |
| 45 | # defaults to './htmlcov/' |
| 46 | html-directory = |
| 47 | # if unset will output to console |
| 48 | text-file = |
| 49 | branch = False |
| 50 | timid = False |
| 51 | cover-pylib = False |
| 52 | exclude-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 | |
| 68 | ignore-errors = False |
| 69 | modules = |
| 70 | |
| 71 | [growl] |
| 72 | always-on = False |
| 73 | |
| 74 | [doctest] |
| 75 | always-on = False |
| 76 | |
| 77 | [module-loading] |
| 78 | always-on = False |
| 79 | |
| 80 | [checker] |
| 81 | always-on = False |
| 82 | pep8 = False |
| 83 | pyflakes = True |
| 84 | |
| 85 | [junit-xml] |
| 86 | always-on = False |
| 87 | path = junit.xml |
| 88 | |
| 89 | [timed] |
| 90 | always-on = True |
| 91 | threshold = 0.01 |
| 92 | |
| 93 | [count] |
| 94 | always-on = True |
| 95 | enhanced = False |