Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Integration with VS Code #1246

Unanswered
geekox86 asked this question in Q&A
Discussion options

Thank you for this great test runner.
Is there an existing or planned VS Code extension to better integrate WTR with VS Code for running and debugging tests as well as reporting in VS Code problems window?

You must be logged in to vote

Replies: 4 comments

Comment options

We would love to have better integration with VS Code... however so far it's just wishful thinking.

As far as I can tell so far no one investigated how much work it would be to set it up 😅

we would certainly welcome a contribution in this direction 🤗

You must be logged in to vote
0 replies
Comment options

I have given it a try..
our team's been using this extension in vscode for more than a week now..
vs-code @web/test-runner extension

You must be logged in to vote
0 replies
Comment options

I've also given it a try:

It integrates with Test Explorer UI, very limited atm but it should be a starting point for further work.

You must be logged in to vote
0 replies
Comment options

I think the most useful integration point is being able to set breakpoints while running tests for quick debugging and interation. I had this working when using the snowpack plugin usinga normal attach debugger profile and watch mode but am having this trouble using just esbuild.

The debugger attaches but when a breakpoint is hit, the test stops running but no visible changes occur in VS Code.

Will debug more later; it may be an issue with WTR's esbuild config...

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /