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

Capture Xcode result bundle if unit tests fail #1096

Merged
merged 1 commit into from
May 21, 2021

Conversation

nickdowell
Copy link
Contributor

Goal

Capture additional diagnostics (including crash reports) in the event of unit test failures to aid in diagnosing intermittent or rare failures that cannot be reproduced locally.

Changeset

scripts/run-unit-tests.sh has been added to capture the logs in the event of failure, as this kind of logic is awkward to implement in a Makefile.

Testing

Example run with (intentional) unit test failure: https://buildkite.com/bugsnag/bugsnag-cocoa/builds/2680

@github-actions
Copy link

Infer: No issues found 🎉

OCLint: No issues found 🎉

Bugsnag.framework binary size did not change - 1,128,272 bytes

Generated by 🚫 Danger

@nickdowell nickdowell merged commit c5284e6 into next May 21, 2021
@nickdowell nickdowell deleted the nickdowell/unit-test-xcresult branch May 21, 2021 09:54
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

Successfully merging this pull request may close these issues.

2 participants