Closed
Description
vscode-go uses the gotests
package to generate unit tests, which makes it hard to adjust the test generation behavior as mentioned here: vscode-go issue #1594.
We could move the test generation logic to gopls
, which provides a few benefits,
- Flexibility in modifying logic around test generation. Current vscode-go implementation uses
gotests
as a child process to generate tests, which makes it hard to customize test generation. - Reduction in the number of 3rd party tools for vscode-go.
gotests
package moves withingopls
.
More about it here.
/cc @stamblerre