Testing 703 installs

Go Testing Patterns

by affaan-m/everything-claude-code

Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage. Follows TDD methodology with idiomatic Go practices.

Skill content

Go Testing Patterns

Comprehensive Go testing patterns for writing reliable, maintainable tests following TDD methodology.

When to Activate

- Writing new Go functions or methods

- Adding test coverage to existing code

- Creating benchmarks for performance-critical code

- Implementing fuzz tests for input validation

- Following TDD workflow in Go projects

TDD Workflow for Go

The RED-GREEN-REFACTOR Cycle