-
Notifications
You must be signed in to change notification settings - Fork 645
Use custom test script instead of the go binary #2746
Comments
You may to use |
@wtask - thanks for the suggestions - they are pretty much all in our toolbox now. I looked through the source code and figured this wouldn't be a hard thing to add, and IDEA does mean ~600 USD per developer. I would be a bit surprised if the VSCode team's response is "go use GoLand" :-) But if that's the case I'll respect the decision. |
@ramya-rao-a That's a good point, thanks! Didn't know tasks exist at all - was only looking at vscode-go and forgot about core vscode features. I'll try it and see if it works out, thanks! |
So I've been trying this out and it seems there's no way to hook this up with vscode-go's coverage tool since it loads the cover file from a tmp dir (unless we can configure the cover file location?) :-( Other than that this seems like it would work. I'll look into it more and if I get it to work will close this out. |
#1596 tracks the need to configure the test coverage feature to use an existing cover file, so may be that can help? |
In our current project, there are a bunch of setup commands that needs to be run before running tests, so we wrap them in a setup script that ends with go test. There doesn't seem to be support for this workflow in vscode-go (happy to be pointed out wrong) - is it something worth considering?
A few extra comments:
(Also would be happy to try to provide a patch if this is something worth doing!)
The text was updated successfully, but these errors were encountered: