-
Notifications
You must be signed in to change notification settings - Fork 52
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
Class test items displayed in TestResults display no output #1148
Comments
Its there to support a single binary test product for projects that contain both XCTest and swift-testing tests. @grynspan knows more details. More information here: swiftlang/swift-package-manager#7766 |
Sorry, how can I help? |
I guess I'm wondering about the genesis of the swiftpm-testing-helper. It was created as a test runner for both XCTest and Swift-testing tests so they could rub under the same executable, correct? |
Not so much! So, on Linux and Windows, the test product is a flat executable and runs directly. SwiftPM emits a Now, one of our second-tier goals with Swift Testing was for it to share as much logic as possible across platforms. So on all platforms regardless of what kind of test product is produced, the However, on Darwin, the test product expected by XCTest is a loadable, but not executable, bundle. The Xcode includes an executable, aptly named Enter In a perfect world, Darwin would let us make .xctest bundles both loadable and executable, and we wouldn't need the helper, but for other unrelated reasons that would be a terrible and dangerous idea, so them's the breaks. |
Describe the bug
When you select a test item associated with a class in the TestResults pane. It outputs
Expected behavior
It should either display the results for all the tests in that class, or the test item should not be displayed in the TestResults pane.
The text was updated successfully, but these errors were encountered: