What problem does it solve?
Go developers frequently write inconsistent, non-idiomatic tests that fail to catch bugs, have low coverage, and break on edge cases, slowing down development and increasing production risk.
Core Features & Use Cases
- TDD Workflow Support: Step-by-step RED-GREEN-REFACTOR cycle guidance to ensure tests drive feature development in Go projects.
- Idiomatic Test Patterns: Pre-built templates for table-driven tests, subtests, parallel execution, and helper functions that follow Go community standards.
- Advanced Testing Capabilities: Built-in patterns for performance benchmarks, fuzz testing for input validation, interface-based mocking, and golden file testing.
Use case: A backend developer building a Go API can use this skill to implement 90%+ test coverage for their handlers, add fuzz tests for input validation, and set up CI test pipelines.
Quick Start
Use the golang-testing skill to write a full suite of table-driven tests and a fuzz test for your new Go user authentication function.