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
- .On().Return() doesn't enforce expectation for the returned value
- deps: fix dependency cycle with objx (again)
- deps: downgrade objx to v0.5.1
- assert: make *AssertionFunc types just aliases
- Added support for getting the arguments of mock function call for a specific call count
- Add ErrorAssertionFunc creators
- suite: add wrappers for Log and Logf functions
- assert: switch the diff library to go-diff
- mock: Call.NotBefore still expects calls removed with Call.Unset
- Allow user to skip (ignore) specific caller frames in assert.CallerInfo()
- Docs
- Go not yet supported