A Dependency injection class for use with Pytest or similar testing framework.
Runs the specified step by name its complete filename including extension
str
The full filename of the step to be run including its extension.
bool
Whether or not to allow a failed result to be returned. If False, a failed attempt to run a step will cause the current test to fail immediately before returning a value from this function call. Override this with a True value to have the step failure data passed back for inspection.
False
A StepTestRunResult instance containing information about the execution of the step.