testing-go-code
Installation
SKILL.md
Testing Go Code
All commands run from the Go module root (installer/).
Unit Tests
task test # Run all tests with race detection
task test -- -run TestName # Run specific test(s)
task test -- -short # Skip integration tests
For test conventions (naming, assertions, table-driven patterns, mock usage), see the writing-go-tests skill.
Coverage
task cov