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

Improvement: Check if failed tests were retried successfully #242

Merged
merged 3 commits into from
Jun 20, 2022

Conversation

priitlatt
Copy link
Contributor

@priitlatt priitlatt commented Jun 20, 2022

When running Xcode tests using action xcode-project run-tests by specifying xcodebuild flag -retry-tests-on-failure, then Xcode automatically retries failed tests. The testcases that initially failed, but succeded later during retry attempts are not considered as successful tests and contribute to overall test suite failure. This is not a desired outcome, and the action should take the retried attempts into account to resolve overall test execution status.

The changes in this PR will check if any of the failed or errored testcases had a successful retry attempt.

Updated actions:

  • xcode-project run-tests

@priitlatt priitlatt added the enhancement New feature or request label Jun 20, 2022
@priitlatt priitlatt marked this pull request as ready for review June 20, 2022 13:25
@priitlatt priitlatt merged commit 413d949 into master Jun 20, 2022
@priitlatt priitlatt deleted the bugfix/xcode-project-run-test-respect-retry branch June 20, 2022 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant