Run every scenario 'n' count of times #2257
Replies: 2 comments 1 reply
-
I would abstract this out to whatever build script you're running and just loop it with bash |
Beta Was this translation helpful? Give feedback.
-
Originally posted by @p-nikolaichik in #3011
Currently the only way would be to create a scenario outline for that scenario with You can use Surefire to re-run tests but be mindful of apache/maven-surefire#858. You can also run Cucumber programmatically through JUnits Platform Launcher API. So that should make it easier to run something repeatedly until failure. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How to run every scenario 'n' count of times? in junit5 there is option: @RepeatedTest. Is any option with cucumber?
Beta Was this translation helpful? Give feedback.
All reactions