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 methods/fields should be very unique
- Confirm code generation during CI
- Feature: Support hamcrest style matchers
- Please make a public generator for testify mocks akin to https://github.com/matryer/moq
- assert: add EqualFileContent
- Specific arguments prioritized over mock.Anything
- assert.Subset supports map
- Proposal: add testing for errors when the expected error is optional
- Is there a way of mocking lambdas?
- assert.Equal panics on string pointers
- Docs
- Go not yet supported