go-testing

Installation
SKILL.md

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
  • Structuring table-driven tests for a function with many input variations or edge cases
  • Setting up golden file tests for functions that produce formatted text or structured output
  • Debugging a test that fails intermittently due to parallel subtest variable capture or shared state

TDD Workflow for Go

The RED-GREEN-REFACTOR Cycle

Installs
2
GitHub Stars
14
First Seen
Apr 7, 2026
go-testing — marvinrichter/clarc