# golang-stretchr-testify

> Comprehensive guide to stretchr/testify for Golang testing.

Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth. Use when writing tests with testify, creating mocks, setting up test suites, or choosing between assert and require. Covers testify assertions, mock expectations, argument matchers, call verification, suite lifecycle, and advanced patterns like Eventually, JSONEq, and custom matchers. Apply when the codebase imports github.com/stretchr/testify.

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

## 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-stretchr-testify 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-stretchr-testify

### Claude

In Claude (web or desktop): Download the golang-stretchr-testify 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-stretchr-testify

### Gemini

In Gemini: Download the golang-stretchr-testify 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-stretchr-testify

### GitHub Copilot

Run in your terminal:

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

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

### Cursor

Run in your terminal:

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

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

### Claude Code

Run in your terminal:

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

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

### Codex

Run in your terminal:

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

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

### Antigravity

In Antigravity: Copy the golang-stretchr-testify 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-stretchr-testify

### Gemini CLI

Run in your terminal:

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

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

### Replit

Run in your terminal:

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

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

### OpenClaw

Run in your terminal:

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

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

### OpenCode

Run in your terminal:

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

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

### Hermes Agent

Run in your terminal:

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

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

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