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
- mock: print caller info on unexpected method call
- assert: add Assertions.Run to wrap testing.T.Run
- mock: hide implementation of `Anything`
- `Eventually`/`EventuallyWithT` should only use one goroutine
- assert: IsIncreasing et al can return false w/out failing
- assert: check early in Eventually, EventuallyWithT, and Never
- Fix calling Unset on call with argumentMatcher.
- Add Helper() method in internal mocks and assert.CollectT
- Succeed quickly in `Eventually`, `EventuallyWithT`
- assert: add Helper() in TestingT interface
- Docs
- Go not yet supported