Skip to content

Glossary: Go Basics

go test

Also written: go test ./..., -v, -run

Command that runs your tests and reports PASS or FAIL. `-v` lists each test, `-run` picks tests by name, `-cover` measures coverage, and `./...` means this folder and everything below.

Where the book teaches it