# golang-testing

> Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, gorout…

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI, or debugging flaky/slow tests. For testify-specific APIs see `samber/cc-skills-golang@golang-stretchr-testify`; for measurement methodology see `samber/cc-skills-golang@golang-benchmark`.

- Type: Skill
- Made by: samber
- Category: Developer tools
- Formats: Skills
- Version: 1.4.0
- Source: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing
- Page: https://pluginboard.ai/skills/golang-testing

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the golang-testing folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### Claude

In Claude (web or desktop): Download the golang-testing folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### Gemini

In Gemini: Download the golang-testing folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-testing ~/.copilot/skills/golang-testing
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### Cursor

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-testing ~/.cursor/skills/golang-testing
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### Claude Code

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-testing ~/.claude/skills/golang-testing
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### Codex

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-testing ~/.agents/skills/golang-testing
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### Antigravity

In Antigravity: Copy the golang-testing folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### Gemini CLI

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-testing ~/.gemini/skills/golang-testing
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### Replit

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-testing .agents/skills/golang-testing
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### OpenClaw

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-testing ~/.openclaw/skills/golang-testing
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### OpenCode

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-testing ~/.config/opencode/skills/golang-testing
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

### Hermes Agent

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-testing ~/.hermes/skills/golang-testing
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-testing

---
From Pluginboard (https://pluginboard.ai).
