testing-go

Official

Craft robust Go tests with table-driven patterns.

Authorholon-run
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps developers create comprehensive, maintainable Go tests using proven patterns like table-driven tests, mocks, and assertions to ensure reliable code.

Core Features & Use Cases

  • Table-Driven Tests: standard approach for validating multiple inputs in a concise way.
  • Mocking Interfaces: isolate dependencies by creating mock implementations for interfaces.
  • Assertions & Coverage: leverage testify for readable assertions and strive for high code coverage.

Quick Start

Create a simple table-driven test for a ParseInput function in your Go package.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: testing-go
Download link: https://github.com/holon-run/holon/archive/main.zip#testing-go

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.