Retry failed test cases
The retry feature improves stability of test execution and reduces test failures. Ensure to run your xctestrun
build with the retry feature enabled.
You can enable the retry feature by setting the Test Repetition Mode flag in the XCTestPlan configuration. The flag can have the following values:
-
Until Failure: The test cases continue to execute until a failure occurs.
-
Retry on Failure: The test case where the failure occured is run again. This mechanism avoids failures due to device disconnection.
- Up Until Maximum Repetitions: You can retry running the test cases a certain number of times, as specified in the Maximum Test Repetitions flag.
- None: The test cases are not run again in case of failure.
Related topics
-
Manage your uploaded app or test suite using our upload app REST API and upload test suite REST API.
-
Use the get app API endpoint and list test suites API endpoint to list your recently uploaded apps and test suites.
-
Delete your uploaded app or test suite using the delete app API endpoint and delete test suite API endpoint.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!