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
- Improve ErrorIs message when error is nil but an error was expected
- Inconsistent nature of `messageFromMsgAndArgs`
- Feat: added OnFunc to mock using method directly and MockCall to mock quick methods
- Update documentation for the Error function in assert or require package
- mock: remove unnecessary fmt.Sprintf in assert.Fail
- refactor: use %q to simplify fmt.Sprintf
- assert: remove deprecated build constraints
- Validate suite method signatures and continue execution for valid tests
- Replace Never & Eventually functions with synchronous versions
- If condition passed to Never does not return before waitFor, then the Never assertion passes.
- Docs
- Go not yet supported