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
nose2.main.PluggableTestProgram
using the excludePlugins
keyword argument.
- Loader: Test discovery
- Loader: Test Functions
- Loader: Test Generators
- Loader: Parameterized Tests
- Loader: Test Cases
- Loader: Test Classes
- Loader: load_tests protocol
- Default filter:
__test__
- Reporting test results
- Buffering test output
- Dropping Into the Debugger
- Stopping After the First Error or Failure
- Capturing log messages
- Test coverage reporting
- Use assert statements in tests
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
nose2.main.PluggableTestProgram
using the plugins
keyword
argument.
- Outputting XML Test Reports
- Selecting tests with attributes
- Running Tests in Parallel with Multiple Processes
- Organizing Test Fixtures into Layers
- Loader: Doctests
- Mapping exceptions to test outcomes
- Collecting tests without running them
- Using Test IDs
- Profiling
- Tracing hook execution
- Loader: Egg Test discovery
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!