Merge pull request #2893 from fmichea/patch-1
Clarify language of proposal for fixtures parameters
This commit is contained in:
commit
2e2f72156a
|
@ -0,0 +1 @@
|
||||||
|
Clarify language of proposal for fixtures parameters
|
|
@ -1,8 +1,13 @@
|
||||||
:orphan:
|
:orphan:
|
||||||
|
|
||||||
=========================
|
===================================
|
||||||
Parametrize with fixtures
|
PROPOSAL: Parametrize with fixtures
|
||||||
=========================
|
===================================
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
This document outlines a proposal around using fixtures as input
|
||||||
|
of parametrized tests or fixtures.
|
||||||
|
|
||||||
Problem
|
Problem
|
||||||
-------
|
-------
|
||||||
|
@ -108,8 +113,8 @@ the following values.
|
||||||
Alternative approach
|
Alternative approach
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
A new helper function named ``fixture_request`` tells pytest to yield all
|
A new helper function named ``fixture_request`` would tell pytest to yield
|
||||||
parameters of a fixture.
|
all parameters marked as a fixture.
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue