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 supported26 Subscribers
Add a CodeTriage badge to testify
Help out
- Issues
- Mock.IsMethodCallable doesn't work with dynamic expected arguments
- CallerInfo does not respect t.Helper() calls.
- Add func similar to `AssertExpectations` which does not fail the test
- EqualValues is not panic-safe
- Please export diff() function
- Feature: support user implementations of `Match` when diffing mock arguments
- mock: avoid data races when expecting calls
- make GitHub workflow permissions explicit
- mock: update callString to format context.Context as pointer
- feat: Support `iter.Seq`s in `[Not]Contains` and `[Not]ElementsMatch`
- Docs
- Go not yet supported