Document limitations for yield-tests in nose
Also add nose doc to the root toctree Closes #1716
This commit is contained in:
parent
cc0920ceb1
commit
9007e16cdf
|
@ -19,6 +19,7 @@ Full pytest documentation
|
||||||
recwarn
|
recwarn
|
||||||
cache
|
cache
|
||||||
plugins
|
plugins
|
||||||
|
nose
|
||||||
|
|
||||||
contributing
|
contributing
|
||||||
talks
|
talks
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue