BrowserStack is excited to roll out a new feature 'Xcode retry' for XCUI tests executed on App Automate. You can use it to improve the overall XCUI test success rate without manually rerunning tests. With this feature, some of our early adopters have already witnessed a jump of 4% in their test success rates.
Here’s how you can use the 'Xcode retry' feature on App Automate
You need to pass the following additional parameters to the API
/app-automate/xcuitest/v2/build that you already use to run XCUI tests on App Automate.
testIterations: This parameter specifies the number of times you’d like to retry a failed test case.
retryTestsOnFailure: Set this to
trueto execute your test case
testIterationsnumber of times.
Check out our documentation for more details.
Why you should run your XCUI tests on BrowserStack?
iOS application testing on App Automate is powered by BrowserStack’s industry-leading real device cloud infrastructure spread across 19 data centers in 13 global locations that provides:
- Instant access to over 70+ unique real iOS devices to test on
- Extensive parallelization for running multiple tests at a time
- 99.9% uptime for a seamless testing experience
Try it for yourself!
Still not a user? Sign up for a 14-day free trial and run your first iOS test in a matter of minutes.