tester-go
runs go test -coverprofile
on your code and then displays coverage
information in the editor. By default this is done automatically on save, and you can disable it via package configuration.
It depends on the following packages:
- Run
- Run tests for the current package with
golang: run-tests
or the shortcut ctrl + alt + shift + g t. - Clear coverage with
golang: hide-coverage
or ctrl + alt + shift + g x.
runTestsOnSave
: Rungo test -coverprofile
on the current package each time you save a.go
file (default:true
)coverageHighlightMode
: Control the way that coverage highlighting occurs:covered-and-uncovered
: highlight covered and uncovered regions of textcovered
: highlight covered regions of textuncovered
: highlight uncovered regions of textdisabled
: disable highlighting