Giverny

Golang Stretchr Testify

Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth.

by samber★ 4,015Languages

What Golang Stretchr Testify does

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.

How to install Golang Stretchr Testify in Claude Code

Giverny gives you a ready prompt with the exact install command from samber/cc-skills-golang. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone samber/cc-skills-golang and copy the skills/golang-stretchr-testify folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Golang Stretchr Testify on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the golang-stretchr-testify skill on my current project.”

More Claude skills for languages