golang-testing - Comprehensive testing strategies for Go code
Provides testing strategies for Go code, including TDD, table-driven tests, mocks, HTTP and database testing, and benchmarks.
Tags
Updated: 2026-10-08Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Apply test-driven development
- Write table-driven tests
- Organize subtests
- Create test helpers
- Mock interfaces and dependencies
- Test HTTP handlers
- Test database transactions
- Measure benchmark performance
Inputs
- Go source code
- Existing Go tests
- Test requirements
- Test database
Outputs
- Go test files
- Test results
- Coverage results
- Benchmark results
Requirements
- Go toolchain
- Go testing package
