👓 What did you see?
Give I set the StopOnFailure option
When a step fails in a scenario
Then the test stops immediatly without evaluating any more steps
And the suite stops without evaluating any more scenarios.
Currently it will evaluate all the steps and report failures on all subsequint steps.
This makes it hard to debug and if you are using interpolation in the steps they can/do break.
✅ What did you expect to see?
The scenario should always stop on the first failed step. The suite should stop on the first failed scenario if the StopOnFailure is set.
I am currently working on a fix + a test.
📦 Which tool/library version are you using?
godog 16.0
👓 What did you see?
Give I set the StopOnFailure option
When a step fails in a scenario
Then the test stops immediatly without evaluating any more steps
And the suite stops without evaluating any more scenarios.
Currently it will evaluate all the steps and report failures on all subsequint steps.
This makes it hard to debug and if you are using interpolation in the steps they can/do break.
✅ What did you expect to see?
The scenario should always stop on the first failed step. The suite should stop on the first failed scenario if the StopOnFailure is set.
I am currently working on a fix + a test.
📦 Which tool/library version are you using?
godog 16.0