Disabled Swift unit tests get executed

Originator:alex
Number:rdar://18110802 Date Originated:23-Aug-2014
Status:Duplicate/16978046 Resolved:
Product:Developer Tools Product Version:Xcode 6 beta-6
Classification:Bug Reproducible:
 
Summary:
Disabled Swift unit tests in Xcode 6 still get executed

Steps to Reproduce:
1. Create a new Xcode 6 project that uses unit tests
2. Add a new test case with Swift set as language
3. Add a test method that fails using XCTFail
4. Disable the test in the test navigator
5. Run all unit tests using Product->Test

Expected Results:
No tests should fail because none are enabled

Actual Results:
The disabled test gets executed and fails because of XCTFail

Version:
Xcode 6.0 (6A280e)

Notes:
Disabling tests created using Objective-C as language works as expected, even in a mixed project

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!