golang-testing - Write Idiomatic Go Tests
Write, review, and refactor Go unit, table-driven, mock-based, and container-backed integration tests.
Tags
Updated: 2026-11-17Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write Go unit tests
- Structure table-driven tests
- Review test suites
- Refactor test organization
- Design fakes and mocks
- Run container-backed integration tests
- Verify database behavior
Inputs
- Go source code
- Test requirements
- Dependency interfaces
- External service configuration
Outputs
- Go test files
- Test execution results
- Coverage reports
- Test organization changes
Requirements
- Go toolchain
- Go module environment
- testcontainers-go for container integration
- Docker-compatible runtime for container integration
