# Go testing patterns

> Writes Go tests with tables, mocks, fuzzing and leak checks, so your suite catches bugs and stops flaking.

- Page: https://youraiskill.com/skill/samber-golang-testing
- What it does: Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI, or debugging flaky/slow tests. For testify-specific APIs see `samber/cc-skills-golang@golang-stretchr-testify`; for measurement methodology see `samber/cc-skills-golang@golang-benchmark`.
- Niches: coding, testing
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (9 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
