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
- Set up objects once and reuse across multipe suites/tests
- Generic equality assertion
- Adding support for `testing.M`
- proposal: print full path when displaying error location
- Mock.On panics when it expects a `func` parameter
- Deprecate ObjectsAreEqual and ObjectsAreEqualValues from the assert package and move them in a separate package for reuse
- proposal: assert.MapSubset (or just support maps in assert.Subset)
- [Feature Request] Create mock.AnyArgs
- Include locations of subtests in test failure stack traces
- Feature: Fail fast for time comparisons
- Docs
- Go not yet supported