vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Any chance of support for in-source testing

Open Aaron-Pool opened this issue 3 years ago • 2 comments

I noticed the extension doesn't pick up on in-source tests. Any chance this feature will be supported in the future. I might be willing to contribute to a PR if I new it wouldn't sit dead in the PR board indefinitely.

Aaron-Pool avatar Apr 14 '22 16:04 Aaron-Pool

PR is welcomed!

zxch3n avatar May 17 '22 13:05 zxch3n

Hi @zxch3n, if we want to support In-source Testing in VSCode, we should add options to configure includeSource and dedect some files when there is a if (import.meta.vitest){ } block in source code.

watonyweng avatar Sep 14 '22 12:09 watonyweng

What should I do to make the plugin for VS Code work? image

szulcus avatar Jan 25 '23 14:01 szulcus

Hello, did you find a solution ?

nicolasreszka avatar May 19 '23 17:05 nicolasreszka

In-source tests are supported in pre-release 0.5.0 and higher. Note that the extension now requires Vitest 1.4.0 or higher.

sheremet-va avatar Mar 15 '24 18:03 sheremet-va