golang-testing - Go Testing Patterns for TDD and Coverage
Provides Go testing patterns for table-driven tests, subtests, benchmarks, fuzzing, coverage, and TDD workflows.
Tags
Updated: 2026-10-01Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Apply TDD workflows
- Write table-driven tests
- Organize subtests
- Create benchmarks
- Implement fuzz tests
- Use test helpers
- Mock interfaces
- Compare golden files
- Assess test coverage
Inputs
- Go source code
- Test requirements
- Expected behavior
- Test data
Outputs
- Go test files
- Benchmark tests
- Fuzz tests
- Test results
- Coverage results
Requirements
- Go toolchain
