AI AGENT ADDONS
Testing & QA
34,479installs

Testing Go code is more than just checking for errors. Use table-driven tests to cover many cases with less code. Find goroutine leaks with goleak. Keep tests fast and reliable with parallel execution.

This guide helps you write new tests, review pull requests, or debug flaky tests. Follow best practices like build tags for integration tests and mocking interfaces instead of concrete types.

Treat tests as executable specifications. This approach builds confidence in your code and makes it easier to maintain over time.

Add Golang Testing skill to your workflow

Global

mkdir -p ~/.claude/skills/golang-testing

Project

mkdir -p .claude/skills/golang-testing

Source Repository

Stars
2,322
Forks
149
Watchers
2,322
License
MIT
Last Push
28 days ago
Created
4 months ago