Go Testing

Go testing advisor. Always use this skill when writing Go tests, working with the testing package, table-driven tests, subtests, benchmarks, testify, or interface mocking. Use when the user asks 'how do I write a table-driven test', 'how do I mock in Go', 'how do I benchmark this', 'how do I test this HTTP handler', 'how do I use t.Run', 'testify assert vs require', or 'how do I test a function that calls an external service'. Read this skill before writing any Go test.

AllThingsSmitty Updated

File contents

AllThingsSmitty/agent-skills/tree/main/skills/go-testing commit 8de039b5b9

Frequently asked questions

npx skillmds@latest add allthingssmitty/go-testing