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
- Compare structs with unsorted slices
- Output value using %+v in assert.Nil()
- Make possible override assertion implementation
- Mock.Get returns existing expectation #51
- mock: Allow custom matcher functions to return error strings displayed on a failed match
- Cannot compare order of time.Duration
- Record & possibly report number of assertions per test/run
- Issue with assertion path when using require package
- mechanism to support cache result for test case
- assert.Equal behavior different between errors and golang.org/x/xerrors packages
- Docs
- Go not yet supported