skills/smithery.ai/go-testing-helpers

go-testing-helpers

Installation
SKILL.md

Test Helpers

Extract common test logic into helper functions with t.Helper().

CORRECT

func assertEqual(t *testing.T, got, want interface{}) {
    t.Helper()  // Reports caller line, not helper line
    if got != want {
        t.Errorf("got %v, want %v", got, want)
    }
}
Installs
1
First Seen
Mar 24, 2026
go-testing-helpers from smithery.ai