Why Specflow ?
it helps the team to talke the same language across the board. This creates a frictionless experiece for the team to understand what product they are building and how to make a qulity delivery.
specflow also helps documenting the entire SDLC
what is hooks ?
Hooks can be used to perform additional automation logic at specific times, such as any setup required prior to executing a scenario
Context Injection
This feature will be helpful while we try to share data between two binding classes(among different steps of same scenario)
To use context injection we need to do the following
1 Create your POCOs representing the shared data
2 Define them as constructor parameters in every binding class you need them
3 save the constructor argument to instance field ,you can use them in the step definitions.
Comments
Post a Comment