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-14885] Expose test discovery list #4406

Open
0xTim opened this issue Jul 7, 2021 · 2 comments
Open

[SR-14885] Expose test discovery list #4406

0xTim opened this issue Jul 7, 2021 · 2 comments

Comments

@0xTim
Copy link
Contributor

0xTim commented Jul 7, 2021

Previous ID SR-14885
Radar rdar://problem/80267816
Original Reporter @0xTim
Type New Feature
Additional Detail from JIRA
Votes 1
Component/s Package Manager
Labels New Feature
Assignee None
Priority Medium

md5: 4ada4510db1d451aab741ce5d783fe40

Issue Description:

In order for certain test integrations to work in other IDEs and on Linux it would be extremely helpful for SwiftPM to expose the list of tests it can see via test discovery so they can be displayed in VSCode's Test Explorer for example.

Something like swift package list-tests which outputs a JSON blob would be great.

@weissi
Copy link
Member

weissi commented Jul 7, 2021

@swift-ci create

@ktoso
Copy link
Member

ktoso commented Jul 7, 2021

For the record: swift test --list-tests exists, but this would be something more tailored that VSCode understands?

@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
Projects
None yet
Development

No branches or pull requests

4 participants