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

Handle crashes during a test run #9

Open
iampatbrown opened this issue May 31, 2022 · 0 comments
Open

Handle crashes during a test run #9

iampatbrown opened this issue May 31, 2022 · 0 comments
Labels
architecture Related to high level component enhancement New feature or request

Comments

@iampatbrown
Copy link
Collaborator

💬 Context

If a test run crashes, uploads will be interupted and information related to the crash is not captured/reported. It would be good to handle crashes and report them as test failures if possible.

📝 Notes

  • fatal errors, precondition failures, force unwrapping nil are some examples that aren't captured at the moment
  • This could get a little tricky for cross platform support
  • xcodebuild test and swift test are likely going to recover from a crash differently. I have a feeling xcodebuild test restarts, adds the crash to the xcresults file and continues running the tests, while swift test might just stop running the tests.
  • Unsure how swift test --parallel approaches this as well.
  • Crashing while the debugger is attached will also need to be considered ie. when running tests in Xcode.
@iampatbrown iampatbrown added enhancement New feature or request architecture Related to high level component labels May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Related to high level component enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant