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
- assert: support byte slice in Contains
- assert/require.Len doesn't print anything if the slice is too long
- Proposal: guard or support comparing with untyped nil
- assert: add InDelta for maps with a deltas map
- assert: add position and pass msg to underlying func in InDeltaMapValues, InDeltaMapValues, and InEpsilonSlice
- Add function for supporting JSON equality checks using byte slices
- suite.Run: validate Test* methods signature
- suite: missing signature check before calling Test* method
- Support colorized output, indentation in accordance with subtest depth, and one more assertion
- assert: Add a self-describing Matcher
- Docs
- Go not yet supported