Show Test Coverage Percentage
Is your feature request related to a problem? Please describe. No way in VSCode to get the code coverage percentage
Describe the solution you'd like To show in the Tests tab the code coverage percentage to know weather you have 100% code coverage or not.
Describe alternatives you've considered None
Additional context This is the case for other VSCode extensions for testing for other programming languages.
Are you talking about the "Go Tests" output panel?
Or the vscode testing panel?
If you meant the former (Go Tests output), that is the old system and that system is being phased out (aka it's unlikely to get new features). If it's the latter (the Testing panel), are you using vscode-go's test explorer or Go Companion's? vscode-go's test explorer does not have support for capturing coverage, and it will (eventually) be replaced when Go Companion's implementation is merged into vscode-go. If you're using Go Companion to run tests with coverage:
If you're asking for a change to this UI, you need to make this feature request on https://github.com/microsoft/vscode - that's not a change vscode-go or Go Companion can make, since that UI belongs to vscode, not to any extension.
Timed out in state WaitingForInfo. Closing.
(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)
I was referring to the vscode testing panel. My vscode testing panel looks different than yours which does not show a test coverage section.
That’s presumably because you’re using vscode-go’s test explorer, which does not have support for coverage. The workaround is to switch to prerelease vscode-go + Go Companion. The long term solution is for me to get Go Companion production ready so we can merge its test explorer into vscode-go (replacing the current one). As the original developer of vscode-go’s test explorer, the little bit of free time I have for contributing will go towards Go Companion (in other works, I am no longer working on vscode-go’s test explorer) but if someone else would like to contribute coverage support to vscode-go’s test explorer, they are very welcome to do so.