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

Watch mode for testing view #1132

Open
MKRhere opened this issue Jul 16, 2024 · 3 comments · May be fixed by #1243
Open

Watch mode for testing view #1132

MKRhere opened this issue Jul 16, 2024 · 3 comments · May be fixed by #1243

Comments

@MKRhere
Copy link

MKRhere commented Jul 16, 2024

Is your feature request related to a problem? Please describe.

The Deno extension has a very nice feature that allows running tests from the VSCode interface. However, this involves manually clicking on "▶ Run Test" each time.

Deno CLI has deno test --watch. It'd be convenient to have that via the extension as well.

Describe the solution you'd like

Add the ability to automatically re-run tests in the sidebar when the test file is saved. It would ideally be next to the "Run tests" button, as a "Run tests and watch" option.

image

@MKRhere MKRhere changed the title Watch mode for "Testing code lens" Watch mode for testing view Jul 16, 2024
@goatonabicycle
Copy link

Playing around with Deno in VSCode and this feature would be really great! 👍

@anion155
Copy link

This would require support from lsp. Another way would be add option to run tests in current file on save

@stefnotch
Copy link

I opened a PR that implements this feature, but I'll need some advice on how to best re-implement certain parts of the code

denoland/deno#27762

It does already work, as seen here.

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 a pull request may close this issue.

4 participants