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

Update test callable discovery to work within the language service #2095

Merged
merged 89 commits into from
Jan 28, 2025

Conversation

sezna
Copy link
Contributor

@sezna sezna commented Jan 7, 2025

This PR rewrites #2059 to trigger test discovery from within the language server, as opposed to externally in an entirely separate context. Please read the description in that PR for more detail.

It also adds tests for LS state in both the Rust-based LS tests and the JS-based basics.js npm API tests.

Copy link
Collaborator

@swernli swernli left a comment

Choose a reason for hiding this comment

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

Signing off based on experience with local testing and using this. Can't wait to get it in!

@sezna sezna enabled auto-merge January 28, 2025 16:43
@sezna sezna added this pull request to the merge queue Jan 28, 2025
@sezna sezna removed this pull request from the merge queue due to a manual request Jan 28, 2025
@sezna sezna added this pull request to the merge queue Jan 28, 2025
Merged via the queue into main with commit 6f9284d Jan 28, 2025
18 checks passed
@sezna sezna deleted the alex/track_test_changes_in_ls branch January 28, 2025 20:08
idavis pushed a commit that referenced this pull request Feb 2, 2025
…2095)

This PR rewrites #2059 to trigger test discovery from within the
language server, as opposed to externally in an entirely separate
context. Please read the description in that PR for more detail.

It also adds tests for LS state in both the Rust-based LS tests and the
JS-based `basics.js` npm API tests.

---------

Co-authored-by: Mine Starks <[email protected]>
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.

4 participants