testify
https://github.com/stretchr/testify
Go
A toolkit with common assertions and mocks that plays nicely with the standard library
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Go not yet supported25 Subscribers
Add a CodeTriage badge to testify
Help out
- Issues
- chores: retract module github.com/stretchrcom/testify
- assert/yaml: add use of build tag testify_no_deps
- Proposal: Global setting of context/size for `GetUnifiedDiffString`
- fix: prevent deadlock when argument's String() calls MethodCalled
- suite: skip AfterTest when SetupTest or BeforeTest skips (#1781)
- mock: replace objx.Map with our own mock.TestData type to drop objx #1852
- mock: reduce data races in Arguments.Diff for pointer-like arguments
- assert.EqualValues: fix float32 and float64 comparisions
- How to deal with functions that expect a `testing.TB` when using `assert.EventuallyWithT`
- assert.ErrorAsType: new assertion for Go 1.27+
- Docs
- Go not yet supported