Skip to content

Glossary: Go Basics

Coverage

Also written: go test -cover, coverprofile

A measure of how much of your code the tests ran. `go test -cover` prints a percentage, and a coverage profile can become an HTML page showing missed lines in red.

Where the book teaches it

Related terms

go test