golang-testing - Go testing patterns for reliable, maintainable tests
Provides Go testing patterns for TDD, table-driven tests, subtests, benchmarks, fuzzing, and coverage.
Tags
Updated: 2026-10-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Apply TDD cycles
- Write table-driven tests
- Organize subtests
- Create test helpers
- Use golden files
- Mock interfaces
- Write benchmarks
- Implement fuzz tests
- Measure test coverage
Inputs
- Go source code
- Testing requirements
- Expected outputs
- Test data
Outputs
- Go test code
- Test results
- Benchmark results
- Fuzz test results
- Coverage reports
- Golden files
Requirements
- Go toolchain
- Go testing package
- Go 1.18+ for fuzzing
