A plugin to peek at the SpecFlow steps
The plugin works by adding extention methods to ScenarioContext and ScenarioStepContext
Context | Extension method | Details |
---|---|---|
ScenarioContext | GetAllSteps() | Get all steps information |
ScenarioStepContext | GetCurrentStep() | Get details about the currently executing step |
. | GetPreviousStep() | Get details about the previously executed step |
. | GetNextStep() | Get details about the next step to be executed |
The step information is presented as StepDefinition
instead of StepInfo
object. However, the information present in StepDefinition
is same as provided by StepInfo
.
The steps that are invoked from within step bindings are not visible. These invoked steps would have access to Previous and Next steps information, but most likely it would be incorrect.
TODO