Skip to content

Go Testing Reference — table-driven tests, testify, benchmarks, fuzzing, httptest, and race detector






Go Testing Reference — table-driven tests, testify, benchmarks, fuzzing, httptest, and race detector


🐹 Go Testing Reference

go test flags (-v/-run/-race/-cover/-bench), table-driven tests with t.Run subtests, t.Helper/t.Cleanup, testify require vs assert, httptest for HTTP handlers, benchmarks, fuzz testing (Go 1.18+), TestMain for global setup, and goroutine leak detection.



🔍 Free tool: Go Module Health Checker — check any Go module for latest version, known CVEs, and maintenance status before adding it as a test dependency.

Founded

2023 in London, UK

Contact

hello@releaserun.com