Skip to content

Migrate test running to the new vscode-test-cli#4079

Merged
vinistock merged 1 commit into
mainfrom
04-24-migrate_test_running_to_the_new_vscode-test-cli
Apr 28, 2026
Merged

Migrate test running to the new vscode-test-cli#4079
vinistock merged 1 commit into
mainfrom
04-24-migrate_test_running_to_the_new_vscode-test-cli

Conversation

@vinistock
Copy link
Copy Markdown
Member

@vinistock vinistock commented Apr 24, 2026

Motivation

The test setup for VS Code extensions has changed a bit since the time when we created the Ruby LSP. This PR migrates us to the latest recommendations.

Implementation

Basically, we now use @vscode/test-cli which allows us to configure our tests in a declarative way. This allows us to get rid of some boiler plate files like index.ts.

The other side of this is that we can now run tests through the test explorer panel, allowing us to easily run a single example at a time. Much better DX.

Copy link
Copy Markdown
Member Author

vinistock commented Apr 24, 2026


How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

This was referenced Apr 24, 2026
@vinistock vinistock self-assigned this Apr 24, 2026
@vinistock vinistock added the chore Chore task label Apr 24, 2026
@vinistock vinistock force-pushed the 04-24-migrate_test_running_to_the_new_vscode-test-cli branch from f16d17c to 87b62ac Compare April 24, 2026 20:55
Comment thread vscode/.vscode/settings.json
@vinistock vinistock requested review from alexcrocha and st0012 April 24, 2026 20:56
@vinistock vinistock marked this pull request as ready for review April 24, 2026 20:56
@vinistock vinistock requested a review from a team as a code owner April 24, 2026 20:56
@vinistock vinistock force-pushed the 04-24-migrate_test_running_to_the_new_vscode-test-cli branch 2 times, most recently from 03bb5d2 to 3fdb680 Compare April 24, 2026 21:29
Comment thread AGENTS.md
Copy link
Copy Markdown
Contributor

@alexcrocha alexcrocha left a comment

Choose a reason for hiding this comment

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

Nice!

@vinistock vinistock force-pushed the 04-24-remove_babel_core branch from b13d63d to dfe472f Compare April 27, 2026 19:33
@vinistock vinistock force-pushed the 04-24-migrate_test_running_to_the_new_vscode-test-cli branch from 3fdb680 to cb6f545 Compare April 27, 2026 19:33
@vinistock vinistock force-pushed the 04-24-migrate_test_running_to_the_new_vscode-test-cli branch from cb6f545 to 522724d Compare April 27, 2026 21:30
@vinistock vinistock force-pushed the 04-24-remove_babel_core branch from dfe472f to 5e50d9b Compare April 27, 2026 21:30
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Apr 27, 2026

Merge activity

@graphite-app graphite-app Bot force-pushed the 04-24-remove_babel_core branch from 5e50d9b to cfc4287 Compare April 27, 2026 21:55
graphite-app Bot pushed a commit that referenced this pull request Apr 27, 2026
### Motivation

The test setup for VS Code extensions has changed a bit since the time when we created the Ruby LSP. This PR migrates us to the latest recommendations.

### Implementation

Basically, we now use `@vscode/test-cli` which allows us to configure our tests in a declarative way. This allows us to get rid of some boiler plate files like `index.ts`.

The other side of this is that we can now run tests through the test explorer panel, allowing us to easily run a single example at a time. Much better DX.
@graphite-app graphite-app Bot force-pushed the 04-24-migrate_test_running_to_the_new_vscode-test-cli branch from 522724d to f7ee099 Compare April 27, 2026 21:56
Base automatically changed from 04-24-remove_babel_core to main April 28, 2026 13:59
### Motivation

The test setup for VS Code extensions has changed a bit since the time when we created the Ruby LSP. This PR migrates us to the latest recommendations.

### Implementation

Basically, we now use `@vscode/test-cli` which allows us to configure our tests in a declarative way. This allows us to get rid of some boiler plate files like `index.ts`.

The other side of this is that we can now run tests through the test explorer panel, allowing us to easily run a single example at a time. Much better DX.
@vinistock vinistock force-pushed the 04-24-migrate_test_running_to_the_new_vscode-test-cli branch from f7ee099 to 3bd3365 Compare April 28, 2026 14:01
@vinistock vinistock enabled auto-merge (squash) April 28, 2026 14:03
@vinistock vinistock merged commit 7d67236 into main Apr 28, 2026
38 checks passed
@vinistock vinistock deleted the 04-24-migrate_test_running_to_the_new_vscode-test-cli branch April 28, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Chore task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants