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: add tests for configuration options #34244
Comments
Hi @stamblerre , I would like to work on this. Can you be more specific? What should be tested? |
The options are configured in https://github.com/golang/tools/blob/master/internal/lsp/source/options.go, and I think the way to test them would be by testing the different settings for features like "HoverKind" and "ExperimentalDisabledAnalyses". The options are modified through the tests (see here and here), but they could also be modified in the internal/lsp/cmd tests. |
Added some tests to hoverKind, matcher, env and directoryFilters of configuration options. Fixes golang/go#34244
Hi @stamblerre , I created some tests for configuration options, but the current documentation of contributing seems to be incomplete, and I would like to know if I can just send a PR on this repository on Github. Could you help me? |
Awesome, thanks for doing that, @msAlcantara! You can absolutely send a PR--take a look at the instructions here: https://golang.org/doc/contribute.html, specifically https://golang.org/doc/contribute.html#sending_a_change_github. |
Change https://golang.org/cl/278072 mentions this issue: |
Added some tests to hoverKind, matcher, env and directoryFilters of configuration options. Fixes golang/go#34244
Added some tests to hoverKind, matcher, env and directoryFilters of configuration options. Fixes golang/go#34244
We recently had a regression in the configuration options.
We should add tests to ensure that these options are applied correctly.
The text was updated successfully, but these errors were encountered: