Skip to content

harvinders/SpecFlow.PeekSteps

Repository files navigation

SpecFlow.PeekSteps

A plugin to peek at the SpecFlow steps

Installation

SpecFlow.PeekSteps

Usage

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

StepDefinition

The step information is presented as StepDefinition instead of StepInfo object. However, the information present in StepDefinition is same as provided by StepInfo.

Limitation

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.

Example

TODO

Build status

Build status

About

A plugin to peek at the SpecFlow steps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published