Cucumberish icon indicating copy to clipboard operation
Cucumberish copied to clipboard

Any approach to rerun failed tests

Open Mikuu opened this issue 4 years ago • 1 comments

Hi,

I'm using Cucumberish for lots of cases, some of them are fragile and failed randomly.

Not sure if there is any approach can make the failed specs rerun for specific times?

There is a fastlane plugin test_center which provides multi_scan action has the ability to support rerun failed tests, but I found multi_scan is only working with pure CXUITEST, doesn't work with cucumberish.

BR. Mikuu

Mikuu avatar Aug 14 '20 08:08 Mikuu

Hi Mikuu,

My general approach is to specify each feature file to have unique tags, making it easier to rerun targeted feature files. You could set your scanner to find the failed tests and then provide the tags for those tests via a command line argument to limit which tests are re-run.

sidekickr avatar Aug 25 '20 19:08 sidekickr