dotnetprofessional / LiveDoc

A Living Documentation platform for BDD (Gherkin) specifications.
MIT License
9 stars 2 forks source link

stepContext incorrect while in Background steps #14

Closed dotnetprofessional closed 7 years ago

dotnetprofessional commented 7 years ago

When accessing the stepContext within a Background Given/When/Then it is only correct for the first Scenario. Subsequent calls to the Background make use of the stepContext that was last set in the Scenario. The issue is that the stepContext is not reset to the Backgrounds stepContext on subsequent calls.

dotnetprofessional commented 7 years ago

fixed in v0.2.2