Is there a BeforeStep equivalent to AfterStep in Cucumber?
If not - has anyone found a solution / workaround?
According to the documentation on Hooks on the Cucumber Wiki on GitHub, the answer is no. There is Before
but no BeforeStep
. Depending on what you are trying to achieve, Before
might do what you need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With