File: plugins.rst

package info (click to toggle)
nose2 0.15.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,912 kB
  • sloc: python: 10,721; makefile: 126
file content (70 lines) | stat: -rw-r--r-- 1,918 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
=================
Plugins for nose2
=================

Built in and Loaded by Default
==============================

These plugins are loaded by default. To exclude one of these plugins
from loading, add the plugin's fully qualified module name to the
``exclude-plugins`` list in a config file's ``[unittest]`` section,
or pass the plugin module with the ``--exclude-plugin`` argument
on the command line. You can also pass plugin module names to exclude to a
:class:`nose2.main.PluggableTestProgram` using the ``excludePlugins``
keyword argument.

.. toctree::
   :maxdepth: 2

   plugins/discovery
   plugins/functions
   plugins/generators
   plugins/parameters
   plugins/testcases
   plugins/testclasses
   plugins/loadtests
   plugins/dundertests
   plugins/result
   plugins/buffer
   plugins/debugger
   plugins/failfast
   plugins/logcapture
   plugins/coverage
   plugins/prettyassert


Built in but *not* Loaded by Default
====================================

These plugins are available as part of the nose2 package but *are not
loaded by default*. To load one of these plugins, add the plugin module
name (as dot-separated, fully qualified name) to the ``plugins`` list
in a config file's ``[unittest]``
section, or pass the plugin module with the ``--plugin`` argument on
the command line. You can also pass plugin module names to a
:class:`nose2.main.PluggableTestProgram` using the ``plugins`` keyword
argument.

.. toctree::
   :maxdepth: 2

   plugins/junitxml
   plugins/attrib
   plugins/mp
   plugins/layers
   plugins/doctests
   plugins/outcomes
   plugins/collect
   plugins/testid
   plugins/prof
   plugins/printhooks
   plugins/eggdiscovery


Third-party Plugins
===================

If you are a plugin author, please add your plugin to the list on the
`nose2 wiki`_. If you are looking for more plugins, check that list!

.. _nose2 wiki : https://github.com/nose-devs/nose2/wiki/Plugins