Skip to content
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

x/tools/gopls: Would it be possible to run gopls.run_test command in json mode? #49464

tjdevries opened this issue Nov 8, 2021 · 0 comments


Copy link

@tjdevries tjdevries commented Nov 8, 2021

What version of Go are you using (go version)?

$ go version
go 1.17.1 linux/amd64

Does this issue reproduce with the latest release?

Yes, but it's more of a feature request (I can put this somewhere else if that's what is desired)

Feature Request?

Currently, the gopls.run_test works really great for viewing the test results! I love it. I was hoping it could be possible though to get the JSON results back to programmatically do something if there is a test failure.

An additional argument to run_tests of JSON would be appreciated. I understand if it's too odd of a request though.


@gopherbot gopherbot added this to the Unreleased milestone Nov 8, 2021
@hyangah hyangah removed this from the Unreleased milestone Nov 10, 2021
@hyangah hyangah added this to the gopls/unplanned milestone Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants