Merge pull request #2907 from nicoddemus/lazy-fixture
Mention pytest-lazy-fixture plugin in the proposal for parametrize_with_fixtures
This commit is contained in:
commit
9fce430c89
|
@ -116,6 +116,11 @@ Alternative approach
|
|||
A new helper function named ``fixture_request`` would tell pytest to yield
|
||||
all parameters marked as a fixture.
|
||||
|
||||
.. note::
|
||||
|
||||
The `pytest-lazy-fixture <https://pypi.python.org/pypi/pytest-lazy-fixture>`_ plugin implements a very
|
||||
similar solution to the proposal below, make sure to check it out.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
@pytest.fixture(params=[
|
||||
|
|
Loading…
Reference in New Issue