-
Notifications
You must be signed in to change notification settings - Fork 797
Update test explorer when tests run from "go.testOnSave" #2483
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
Comments
does is work for other languages or it is just a problem for go? |
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. |
#3523 adds support for VSCode's continuous test runs and will re-execute a test whenever it is updated. |
@pierrre Would you try Go Companion's explorer and see if it meets your needs? |
I installed the extension, and I think I see something new in the test explorer. Do I need to configure something ? |
@pierrre It looks like you're still using Side note: From your screenshot I can see that you have both the old and new test adapters, from vscode-go and Go Companion, respectively. If you only want to see the new one, either explicitly disable the old one via |
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.
The text was updated successfully, but these errors were encountered: