Skip to content

Instantly share code, notes, and snippets.

View rdumont's full-sized avatar

Rodrigo Dumont rdumont

View GitHub Profile
@rdumont
rdumont / README.md
Last active June 14, 2021 09:03
Go test coverage in VS Code

Requirements

  • Coverage Gutters: vscode extension to display language-agnostic coverage from lcov reports
  • Reflex: to watch files and perform actions on change
  • gcov2lcov: to convert from Go's coverage report format to lcov
  • gotest: optional, you could just use go test

Usage

The path to what you want to test is required.