Xcode 4.5 Unit Tests always succeed

Originator:cosmogyralist
Number:rdar://12412656 Date Originated:2012-10-02
Status:Open Resolved:
Product:Xcode Product Version:4.5/4G182
Classification:Serious bug Reproducible:Always
 
Summary:
When running test against unit tests target Xcode displays bezel notification stating that "Tests succeeded" even when test failures occurred.

Steps to Reproduce:
(1) Create unit test bundle
(2) Create failing test with STFail(@"This test will always fail.")
(3) In Preferences > Behaviors set Notify using bezel or system notification.
(4) Choose Product > Test
(5) Note bezel display "Tests succeeded"

Expected Results:

Bezel should display "Tests failed"

Actual Results:

Bezel displays "Tests succeeded"

Regression:

None

Notes:

None.

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!