Skip to content
G

golang-stretchr-testify

Comprehensive guide to stretchr/testify for Golang testing

by samberFree

#3442in AI Skills
0In stores

Description

golang-stretchr-testify is an agent skill from the samber cc-skills-golang collection for writing Go tests with the stretchr/testify library…

Highlights

  • assert and require packages
  • Mocks and suites
  • Write and review modes
  • Tests start from *testing.T
  • Pointers to package documentation tools
  • Installs from skills.sh

Ratings & Reviews

No ratings yet

Be the first to rate golang-stretchr-testify.

People also visit

G

golang-testing

Production-ready Golang tests

AI Skills
Get
G

golang-testing

Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing

AI Skills
Get
G

go-testing

Writing, reviewing, or improving Go test code

AI Skills
Get
A

assertion-quality

Analyze assertion quality, depth, variety

AI Skills
Get
G

golang-error-handling

Idiomatic Golang error handling

AI Skills
Get
G

golang-design-patterns

Idiomatic Golang design patterns

AI Skills
Get

golang-stretchr-testify FAQ

What does this skill cover?

Writing Go tests with stretchr/testify: assert, require, mock and suite packages.

What is the difference between assert and require?

The skill says assert records a failure and continues, while require stops the test, which matters when later checks depend on earlier ones.

Does testify replace the testing package?

No. Tests still start from *testing.T, and testify complements it.

How do I install it?

Run npx skills add https://github.com/samber/cc-skills-golang --skill golang-stretchr-testify.

What are the security audit results?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

How popular is it?

The page shows about 37.6K installs, and the cc-skills-golang repository has 3.5K GitHub stars.

What are the best golang-stretchr-testify alternatives?

Popular alternatives to golang-stretchr-testify include golang-testing, golang-testing and go-testing. See all golang-stretchr-testify alternatives

Developer Stuff

Badges