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![CodeTriage badge for stretchr/testify](/stretchr/testify/badges/users.svg?count=25)
Help out
- Issues
- mock: Conditionally toggle mock Call
- Proposal: assert.NoFieldIsEmpty
- call.Unset() panics when call := mockObj.On("Foo", mock.AnythingOfType("foo"))
- assert: invalid memory address or nil pointer dereference for assert.Error on darwin/arm64
- mock: Diff is prone to data races
- mock: avoid data races in Arguments.Diff
- mock: add assertion for minimum number of method/function invocations
- assert: introducing no field is empty assertion function
- assert.EqualExportedValues: accepts everything
- EqualExportedValues can compare two slices
- Docs
- Go not yet supported