Exceptions thrown during test execution can take down the entire test runner

Originator:peter.robinett
Number:rdar://18678800 Date Originated:2014-10-16
Status:Duplicate/14436214 Resolved:
Product:Developer Tools Product Version:Xcode Version 6.0.1 (6A317)
Classification:Enhancement Reproducible:Sometimes
 
Summary:
Sometimes when code executed in a test throws an exception, no future tests will run, and the suite will end with a failure. This seems to specifically happen when the exception is not on the main queue.

Expected Results:
The test with the thrown exception fails, and execution of future tests will continue.

Actual Results:
Test execution ends prematurely.

Version:
Xcode Version 6.0.1 (6A317)

Configuration:
Running the test target of an iOS project in Xcode.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!