We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34a5e50 commit e4f7801Copy full SHA for e4f7801
src/pytest_bdd/scenario.py
@@ -153,9 +153,12 @@ def get_fixture_path(fixture_def: FixtureDef) -> list[str]:
153
154
def get_step_function(request: FixtureRequest, step: Step) -> StepFunctionContext | None:
155
"""Get the step function (context) for the given step.
156
+
157
We first figure out what's the step fixture name that we have to inject.
158
159
Then we let `patch_argumented_step_functions` find out what step definition fixtures can parse the current step,
160
and it will inject them for the step fixture name.
161
162
Finally, we let request.getfixturevalue(...) fetch the step definition fixture.
163
"""
164
__tracebackhide__ = True
0 commit comments