Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any approach to rerun failed tests #132

Open
Mikuu opened this issue Aug 14, 2020 · 1 comment
Open

Any approach to rerun failed tests #132

Mikuu opened this issue Aug 14, 2020 · 1 comment

Comments

@Mikuu
Copy link

Mikuu commented Aug 14, 2020

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

@sidekickr
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants