vscode-go icon indicating copy to clipboard operation
vscode-go copied to clipboard

Update test explorer when tests run from "go.testOnSave"

Open pierrre opened this issue 3 years ago • 7 comments

Is your feature request related to a problem? Please describe. I'm using go.testOnSave = true. When I'm saving, the tests are running as expected. However, the test explorer (the bar/menu on the left side) is not updated. And the error message in the code are not updated either.

Describe the solution you'd like When tests are running on save, we should run the tests for the current package from the test explorer.

pierrre avatar Sep 28 '22 17:09 pierrre

does is work for other languages or it is just a problem for go?

SAbruzzo avatar Apr 23 '23 13:04 SAbruzzo

still problem image

Form1ca avatar Feb 07 '24 08:02 Form1ca

vscode-go has two largely independent systems for handling tests: the old one that has most of the features, and the new test explorer implementation. Test on save is a feature of the old system, which is why the test explorer is not updated. I am working on merging the two systems, but the time I can devote to this is limited so it may be a while.

firelizzard18 avatar Jul 19 '24 20:07 firelizzard18