Skip to content

Add functions to retrieve all tests within a workspace or within a given source file #175

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

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Nov 29, 2023

This will be used by sourcekit-lsp to discover test in swiftlang/sourcekit-lsp#978.

…ven source file

This will be used by sourcekit-lsp to discover test.
@ahoppen
Copy link
Member Author

ahoppen commented Nov 30, 2023

@swift-ci Please test

@bnbarham
Copy link
Contributor

bnbarham commented Dec 1, 2023

@swift-ci please test

Copy link
Contributor

@bnbarham bnbarham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay with this in principle, but I do think it would be worth seeing whether we can extend the build system abstraction in sourcekit-lsp to include output paths. That can be something we do later though, since filtering isn't really handled at all today as far as I can tell. We should be filtering the index results on visible output files at minimum though.

@ahoppen
Copy link
Member Author

ahoppen commented Dec 4, 2023

@swift-ci Please test Windows

1 similar comment
@ahoppen
Copy link
Member Author

ahoppen commented Dec 6, 2023

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 095db97 into swiftlang:main Dec 7, 2023
@ahoppen ahoppen deleted the ahoppen/list-tests branch December 7, 2023 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants