Software Development

Golang Stretchr Testify

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.

Publisher / source
samber/cc-skills-golang (found on skills.sh)
Upstream record
samber/cc-skills-golang
Version
Version 3
Published
Publication review
Approved for publication
Content fingerprint
e0e681bafd39acc6edb6c9d06c53add7b42e10d93a7f0dd546dde67a23d3f1bf