golang-testing - Apply comprehensive Go testing patterns
Provides Go testing patterns for TDD, table-driven tests, subtests, benchmarks, fuzzing, mocks, and coverage.
Tags
Updated: 2026-10-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Apply TDD workflow
- Write table-driven tests
- Organize subtests
- Create benchmark tests
- Implement fuzz tests
- Use interface mocks
- Test golden files
Inputs
- Go source code
- Test requirements
- Expected outputs
- Test data
- Golden files
Outputs
- Go test code
- Benchmark tests
- Fuzz tests
- Test results
- Coverage data
Requirements
- Go toolchain
- Go testing package
- Go 1.18+ for fuzzing
