This skill equips Claude with the expertise to write, review, and optimize Go test suites using industry-standard patterns distilled from Google and Uber style guides. It prioritizes maintainable, diagnosable tests by focusing on table-driven layouts, subtests for parallel execution, and semantic error checking. By favoring standard library tools and cmp.Diff over external assertion libraries, it ensures your Go code remains idiomatic, readable, and highly diagnostic during failures. It includes specialized scaffolding for complex comparisons, cleanup helpers, and integration testing strategies.
主な機能
01Idiomatic teardown using t.Cleanup and t.Helper patterns
02Automated test failure formatting with got/want diagnostics
0377 GitHub stars
04Deep struct and proto comparison using google/go-cmp
05Semantic error testing using errors.Is and errors.As
06Canonical table-driven test scaffolding and subtest management