stretchr/testify

Go 25.9k stars

A toolkit with common assertions and mocks that plays nicely with the standard library

✓ Synced 1h ago Share on X →
README badge: [![ngmi](https://ngmi.review/badge/stretchr/testify.svg)](https://ngmi.review/repo/stretchr/testify)
516 Merged PRs
2 months Avg Merge Time
0m Fastest PR
5 years Slowest PR
#2748 Global Speed Rank
Trim top 0% outliers

Trends Over Time

Monthly aggregates for this repo. The gap between avg and median reveals outlier skew.

PR size over time (lines changed)
Review time over time (hrs)
Changes requested rate over time (%)
Merged PRs per month
Time to first review (hrs)
Unreviewed merge rate (%)

PR Size Analysis

Lines changed (additions + deletions) vs review outcomes.

PRs by size
Avg review time (hrs)
Clean approval rate (%)

Top Reviewers

Recent Merged PRs

# Title Author Time Reviews Blocks
#1812 EMERITUS.md: add @tylerb @dolmen 4 months 1
#1842 docs: Fix EventuallyWithTf documentation with proper placement of formatting arguments @a2not 1 month 3
#1821 docs(require): correct example usage to use assert.CollectT (require.CollectT does not exist) @a2not 3 months 5
#1850 require: fix godoc generation for assertions returning a bool @Baxromumarov 3 days 2
#1827 chore: vendor go-spew from https://github.com/davecgh/go-spew @ccoVeille 9 days 1
#1815 Tag generated assertions as non-generated in new .gitattributes @ubunatic 3.9h 1
#1714 doc: remove ineffective inline code blocks @brackendawson 6 months 6
#1646 assert: truncate very long objects in test failure messages @brackendawson 11 months 12
#1782 _codegen: copy dependency github.com/ernesto-jimenez/gogen/imports @dolmen 21 days 5
#1795 mock.AssertExpectationsForObjects fix panic with wrong testObject type. @brackendawson 2.7h 1
#1791 assert.YAMLEq: Document mutlidoc behavior @brackendawson 2 days 8
#1792 add type to error message of assert.Same @egawata 23m 1
#1787 assert: IsIncreasing et al can return false w/out failing @brackendawson 15 days 2
#1400 assert.PanicsWithError: report error message @olivergondza 2 years 10
#1790 build(deps): bump actions/setup-go from 5 to 6 @dependabot 4 days 1
#1784 Promote ccoVeille to maintainer @brackendawson 13 days 1
#1708 Vendor unmaintained github.com/pmezard/go-difflib @brackendawson 5 months 12
#1665 suite: validate method signatures and continue execution for valid tests @vyas-git 10 months 4
#1788 Backport #1786 to release/1.11: mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers @brackendawson 4m 1
#1786 mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers @brackendawson 35m 1