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
- Make spew config selection configurable to allow for helpful diffs on time.Time objects nested in structs.
- Assert equal pointers
- Make it clearer when nil arguments don't match
- Mock does not take effect
- add NonPositive and NonNegative functions.
- How to run SetupTest in table tests using test suite?
- Assert deferred Close() calls.
- Give mock.Anything its own type so it can't be mistaken for a string
- Fix failure message formatting for Positive and Negative asserts
- Possible to remove go-spew?
- Docs
- Go not yet supported