Skip to content
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

[SR-12147] swiftpm-xctest-helper fails on XCTestCase using dynamic test generation #4609

Open
belkadan opened this issue Feb 7, 2020 · 1 comment
Labels

Comments

@belkadan
Copy link

belkadan commented Feb 7, 2020

Previous ID SR-12147
Radar rdar://problem/59280719
Original Reporter @belkadan
Type Bug

Attachment: Download

Environment

Xcode 11.3.1

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: aeff0ee827908e11f88cae54d5bd7f1c

Issue Description:

When an XCTestCase subclass has a custom name (as is useful for dynamic test generation), and that name is not in the same format as a usual XCTest test case name (i.e. "-[MyTests someSelector]"), swift test -l just crashes. I've attached an example project (which you can also find here) along with a crash log from Xcode 11.3.1.

I didn't test this on Linux because I'm generating the dynamic tests differently on Linux (due to differences in how test discovery works).

@ankitspd
Copy link
Member

ankitspd commented Feb 8, 2020

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants