nose-compatibility plugin: allow to run nose test suites natively.
This is an experimental plugin for allowing to run tests written
in 'nosetests style with py.test.
type:
py.test # instead of 'nosetests'
and you should be able to run nose style tests and at the same
time can make full use of py.test's capabilities.
- setup and teardown at module/class/method level
- SkipTest exceptions and markers
- setup/teardown decorators
- yield-based tests and their setup
- general usage of nose utilities
- nose-style doctests are not collected and executed correctly,
also fixtures don't work.
- no nose-configuration is recognized
If you find other issues or have suggestions please run:
py.test --pastebin=all
and send the resulting URL to a py.test contact channel,
at best to the mailing list.
Start improving this plugin in 30 seconds
- Download pytest_nose.py plugin source code
- put it somewhere as pytest_nose.py into your import path
- a subsequent py.test run will use your local version
Checkout customize, other plugins or get in contact.