Debian Codegraph @

docs/plugins.rst

raw
1 =================
2 Plugins for nose2
3 =================
4
5 Built in and Loaded by Default
6 ==============================
7
8 These plugins are loaded by default. To exclude one of these plugins
9 from loading, add the plugin's fully qualified module name to the
10 ``exclude-plugins`` list in a config file's ``[unittest]`` section,
11 or pass the plugin module with the ``--exclude-plugin`` argument
12 on the command line. You can also pass plugin module names to exclude to a
13 :class:`nose2.main.PluggableTestProgram` using the ``excludePlugins``
14 keyword argument.
15
16 .. toctree::
17 :maxdepth: 2
18
19 plugins/discovery
20 plugins/functions
21 plugins/generators
22 plugins/parameters
23 plugins/testcases
24 plugins/testclasses
25 plugins/loadtests
26 plugins/dundertests
27 plugins/result
28 plugins/buffer
29 plugins/debugger
30 plugins/failfast
31 plugins/logcapture
32 plugins/coverage
33 plugins/prettyassert
34
35
36 Built in but *not* Loaded by Default
37 ====================================
38
39 These plugins are available as part of the nose2 package but *are not
40 loaded by default*. To load one of these plugins, add the plugin module
41 name (as dot-separated, fully qualified name) to the ``plugins`` list
42 in a config file's ``[unittest]``
43 section, or pass the plugin module with the ``--plugin`` argument on
44 the command line. You can also pass plugin module names to a
45 :class:`nose2.main.PluggableTestProgram` using the ``plugins`` keyword
46 argument.
47
48 .. toctree::
49 :maxdepth: 2
50
51 plugins/junitxml
52 plugins/attrib
53 plugins/mp
54 plugins/layers
55 plugins/doctests
56 plugins/outcomes
57 plugins/collect
58 plugins/testid
59 plugins/prof
60 plugins/printhooks
61 plugins/eggdiscovery
62
63
64 Third-party Plugins
65 ===================
66
67 If you are a plugin author, please add your plugin to the list on the
68 `nose2 wiki`_. If you are looking for more plugins, check that list!
69
70 .. _nose2 wiki : https://github.com/nose-devs/nose2/wiki/Plugins