Golang Testing

Provides a comprehensive guide for writing production-ready Golang tests. Covers table-driven tests, test suites with testify, mocks, unit tests, integration tests, benchmarks, code coverage, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, memory leaks, CI with GitHub Actions, and idiomatic naming conventions. Use this whenever writing tests, asking about testing patterns or setting up CI for Go projects. Essential for ANY test-related conversation in Go.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/bang-abilive--go-template--golang-testing commit b7407f5978

Frequently asked questions

npx skillmds@latest add tomevault-io/golang-testing-14