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
- Add NonPositive and NonNegative functions.
- Added partial equal assertion for JSON
- Add support for parallel sub-tests and remove `suite.Suite` pseudo-interitance
- Diffs no longer call string()
- Multiple tests with a similar name get executed when running go test with -testify.m option
- Diffs on structs with nested time.Time objects produce hard to read diffs
- mock: make the error message for missing argument clearer
- impl EqualValues 2 objects have `(T) Equal(T) bool`
- error during install strechr/testify, undefined: errors.Is
- Feature: assert.Consistently
- Docs
- Go not yet supported