golang-testing - Test Go code with structured testing strategies
Applies TDD and comprehensive testing strategies to improve Go code quality.
Tags
Updated: 2026-10-15Typical Inputs
Typical Outputs
What this skill does
- Follow TDD cycles
- Write table-driven tests
- Organize subtests
- Build test helpers
- Mock interfaces and time
- Test HTTP handlers
- Test database transactions
- Run benchmarks
Inputs
- Go source code
- Go test files
- Test fixtures
- Database test configuration
- Testing requirements
Outputs
- Test files
- Test results
- Benchmark results
- Coverage changes
Requirements
- Go toolchain
- Go project source access
- Permission to run tests
- Test database access
