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

[vscode] stub continuous test runs API #12456

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

rschnekenbu
Copy link
Contributor

What it does

Stubs the additional test API introduced with vscode 1.77, such as TestRunRequest.continuous and TestRunProfile.supportsContinuousRun in TestRunProfile

Fixes #12374

Contributed on behalf of ST Microelectronics

How to test

Of course, as the API is stubbed, there won't be much to test in this PR. However, we can have the results of the API analysis between theia and vscode.
testRunProfile-stubbed
testRunRequest_impl

Also, I provided here a vscode API sample to install to verify that an extension is still working when using this stubbed API and other implemented APIs.

  1. Install forked extension test-provider-sample-0.0.2.vsix vsix file - Source

  2. A message is printed in the console at the end of the activation, after some calls related to stubbed API are done.

The console should display: test-provider-sample activated once extension is activated.

  1. Extension will also display a message in the console as soon as the content of a markdown file is edited.

test-sample

Review checklist

Reminder for reviewers

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

LGTM 👍

resolves eclipse-theia#12374

Contributed on behalf of STMicroelectronics

Signed-off-by: Remi Schnekenburger <rschnekenburger@eclipsesource.com>
@JonasHelming JonasHelming merged commit 53b3841 into eclipse-theia:master Apr 27, 2023
@vince-fugnitto vince-fugnitto added this to the 1.37.0 milestone Apr 27, 2023
@KevinClapperton KevinClapperton mentioned this pull request May 8, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[vscode] Support continuous tests runs
3 participants