"run test" code action does not raise the result of the test.
bassforce86 opened this issue · comments
James King commented
It would be useful to raise the output of the of test result either in the diagnostics panel, or simply a "bulb" icon (success / fail) with a hover showing the log from the test.
Gopls version: 0.8.3
ST4 version: 4126
lsp-gopls version: 1.0.5
reproduction steps:
- open a go project that has tests
- use the "code_action" called "run tests"
- observe that there is no (obvious) output from the test run
You can sort-of get a quick summary in the status bar, if you're quick enough.
Or you can see the full RPC trace in the LSP log panel, which is not particularly easy to read.
Terminal commented
I think that I can intercept this request and then output the content into a Sublime Panel.
I’m working in this now
Terminal commented
WIP: https://github.com/sublimelsp/LSP-gopls/tree/f/test_log_panel
2022-06-02_23-56-09.mp4
Terminal commented
Implemented in v1.0.6