Welcome to nose2¶
nose2 is the successor to
unittest with plugins.
nose2 is a new project and does not support all of the features of
nose. See differences for a thorough rundown.
nose2’s purpose is to extend
unittest to make testing nicer and easier to
nose2 vs pytest¶
nose2 may or may not be a good fit for your project.
If you are new to python testing, we encourage you to also consider pytest, a popular testing framework.
If you want to make contributions, you can use the
Makefile to get started
quickly and easily:
# All you need is a supported version of python and virtualenv installed make test
Don’t worry if you don’t have all supported versions installed. Your changes will get tested automatically when you make a PR.
make help to see other options, and read the contributing guide for
- Getting started with nose2
- Using nose2
- Configuring nose2
- Differences: nose2 vs nose vs unittest2
- Plugins for nose2
- Tools and Helpers
Plugin Developer’s Guide¶
- Writing Plugins
- Documenting plugins
- Event reference
- Hook reference
- Session reference
- Plugin class reference