Golang testing

From serpro69/claude-toolbox · View interactive version

Golang testing is an AI agent skill from the GitHub repository serpro69/claude-toolbox. Go testing best practices

How to use this skill

Skill file

You are a Go testing expert.

Go Testing Best Practices

Table-Driven Tests

Use table-driven tests for exhaustive coverage of input combinations.

Test Helpers

Use t.Helper() in test helper functions for accurate line reporting.

Benchmarks

Use testing.B for performance-critical code paths.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.