- Feature
- Scenario
- Tag
Bindings
Bindings in Specflow are global as we know, hence, each and every step in feature files of a scenario are tide with a specific step definitions. If there are cases, where we need to change the scope of the step to be executed in certain condition using existing bindings, then we will end up with ambiguity problem. In order to resolve the problem, Specflow have something called as Scoped BindingsScoped Bindings
Using the Scope attribute for any step definition, we can restrict certain hooks like- Features
- Scenarios
- Tags
Thanks for reading the post and watching the video !!!
Please leave your comments and let me know if there is anything I should update in this post.
Thanks, Karthik KK