Go test explorer #313
-
I saw that a VSCode extensions file was added, which includes recommendations for "hbenl.vscode-test-explorer" and "ethan-reesor.vscode-go-test-adapter". I have installed both, but for the life of me, I cannot get this test explorer to display any tests. I looked for documentation on both projects, and didn't find much. I've also tried uninstalling/reinstalling both extensions, and opening the OMP directory, or opening the src directory. Does anyone have any idea what I might be doing wrong? @lnu perhaps |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
When I debug on wsl I open the root folder(opening src only also works) and only use the recommended extensions: |
Beta Was this translation helpful? Give feedback.
-
Try also to enable the debug output to see what's happening: |
Beta Was this translation helpful? Give feedback.
-
@JanDeDobbeleer does the test explorer work for you? |
Beta Was this translation helpful? Give feedback.
-
@travistx any follow up on this one? |
Beta Was this translation helpful? Give feedback.
-
This is resolved for me now. In case anyone else experiences this issue, I had to enable the "Use Language Server" option in the VS settings for the "Go" extension: According to the maintainer, this should be fixed without this feature in the next version, as explained here https://gitlab.com/firelizzard/vscode-go-test-adapter/-/issues/11#note_487271987 |
Beta Was this translation helpful? Give feedback.
This is resolved for me now. In case anyone else experiences this issue, I had to enable the "Use Language Server" option in the VS settings for the "Go" extension:
According to the maintainer, this should be fixed without this feature in the next version, as explained here https://gitlab.com/firelizzard/vscode-go-test-adapter/-/issues/11#note_487271987