Skip to main content
ClaudeWave
Skill146 repo starsupdated 2d ago

golang-testing

Go testing best practices

Install in Claude Code
Copy
git clone --depth 1 https://github.com/serpro69/claude-toolbox /tmp/golang-testing && cp -r /tmp/golang-testing/cmd/vendor-profiles/testdata/skills/golang-testing ~/.claude/skills/golang-testing
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

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.