go-testing
Installation
SKILL.md
Go Testing Skill
Go testing follows a 4-phase workflow: understand what needs testing, write idiomatic tests, run and verify, review quality. Every function with multiple test cases uses table-driven pattern. Every helper calls t.Helper(). Every concurrent test runs with -race.
Instructions
Phase 1: UNDERSTAND Test Requirements
Goal: Determine what needs testing and the appropriate test strategy.
Step 1: Identify test scope
- What function/method/package is being tested?
- Is this a new test, modification, or coverage gap?
- Are there existing tests to follow as patterns?