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.IsIncreasing can return false without failing the test
- assert.EventuallyWithT: CollectT is not protected against concurrent use
- Give assert.CollectT a Logf Method to allow use as mock.TestingT
- Add flag -testify.shuffle for suites
- Equal values referenced via atomic.Pointer always fail Equal()
- Fix #1399: Always report error message on PanicsWithError mismatch
- PanicsWithError does not report error message for complex errors
- Improve the behavior of `require` assertions when using `assert.EventuallyWithT`
- Use of WithinDuration on Equal when having nested time.Time
- mock.AssertExpectations error message is not ideal
- Docs
- Go not yet supported