go-testing

Outline core Go testing patterns including table tests, subtests, and helpers.

3|Updated Nov 28, 2025
Search Tags:#testing#go#t.Run
One-click install
npx skills add https://github.com/JamesPrial/claudefiles --skill go-testing-jamesprial
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-testing
Source: https://github.com/JamesPrial/claudefiles/tree/main/skills/golang/testing
Command: npx skills add https://github.com/JamesPrial/claudefiles --skill go-testing-jamesprial

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill outlines core Go testing patterns including table tests, subtests, and helpers.

Core Features & Use Cases

  • Table-Driven Tests: Elegant handling of multiple cases.
  • Subtests: Group related tests with t.Run.
  • Helpers: Reusable test assertions with proper helper signals.

Quick Start

Create a small table-driven test for a simple function.