Document limitations for yield-tests in nose

Also add nose doc to the root toctree

Closes #1716
This commit is contained in:
Bruno Oliveira 2016-07-12 12:41:40 -03:00 committed by Bruno Oliveira
parent cc0920ceb1
commit 9007e16cdf
2 changed files with 10 additions and 2 deletions

View File

@ -19,6 +19,7 @@ Full pytest documentation
recwarn recwarn
cache cache
plugins plugins
nose
contributing contributing
talks talks

View File

@ -24,7 +24,7 @@ Supported nose Idioms
* setup and teardown at module/class/method level * setup and teardown at module/class/method level
* SkipTest exceptions and markers * SkipTest exceptions and markers
* setup/teardown decorators * setup/teardown decorators
* yield-based tests and their setup * ``yield``-based tests and their setup
* ``__test__`` attribute on modules/classes/functions * ``__test__`` attribute on modules/classes/functions
* general usage of nose utilities * general usage of nose utilities
@ -51,5 +51,12 @@ Unsupported idioms / known issues
- nose-style doctests are not collected and executed correctly, - nose-style doctests are not collected and executed correctly,
also doctest fixtures don't work. also doctest fixtures don't work.
- no nose-configuration is recognized - no nose-configuration is recognized.
- ``yield``-based methods don't support ``setup`` properly because
the ``setup`` method is always called in the same class instance.
There are no plans to fix this currently because ``yield``-tests
are deprecated in pytest 3.0, with ``pytest.mark.parametrize``
being the recommended alternative.