connor4312 / connor4312/nodejs-testing

how do I (auto)run test continously like `node --test --watch` for TDD sessions?

Open
#44 3 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
67
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I can configure extension add `--watch` to parameters, but ive tried it and it doesn't seem to work as in it doesn't rerun tests when I change the file. Regardless, I dont always need to run tests in watch mode, so Id like to have an option or a toggle to do it on demand from ui.

Im not sure it is a 100% fit, but it would seem that vscode's "Continuous Run" api fits the bill. There is even a button to toggle the continuous run.

I'm not sure if this feature is supported and I missed how to enable it or integration with continuous run api requires extra work on behalf of maintainers.

![Screenshot 2024-06-25 at 14 37 16](https://github.com/connor4312/nodejs-testing/assets/559321/42d2e363-ac9a-4696-9948-91ec576f6e3a)

https://github.com/microsoft/vscode/issues/134941
https://github.com/microsoft/vscode/issues/134941

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.