You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
💬 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
xcodebuild test
andswift test
are likely going to recover from a crash differently. I have a feelingxcodebuild test
restarts, adds the crash to the xcresults file and continues running the tests, whileswift test
might just stop running the tests.swift test --parallel
approaches this as well.The text was updated successfully, but these errors were encountered: