What problem does it solve?
This Skill solves flaky, low-signal Go testing by helping you write production-ready tests that constrain behavior, stay fast, and reliably detect concurrency issues.
Core Features & Use Cases
- Table-driven tests with named subtests: Ensures each case is individually debuggable and easy to expand (e.g., edge cases like validation failures).
- Correct separation of unit vs integration tests: Uses build tags for deterministic CI runs and prevents accidental DB/network calls in normal test runs.
- Flake prevention and correctness checks: Recommends parallelism when safe, goroutine leak detection via goleak, and deterministic time testing patterns for concurrency-heavy code.
Quick Start
Use the golang-testing skill to generate or review Go tests using table-driven named subtests, build-tagged integration tests, and goleak-based goroutine leak detection where appropriate.