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.

guynhsichngeodiec Updated

File contents

guynhsichngeodiec/cc-skills-golang/tree/main/skills/golang-testing commit b7d290ce7d

Frequently asked questions

npx skillmds@latest add guynhsichngeodiec/golang-testing