| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-06-10 | 9.9 kB | |
| v1.12.0 source code.tar.gz | 2026-06-10 | 167.2 kB | |
| v1.12.0 source code.zip | 2026-06-10 | 208.4 kB | |
| Totals: 3 Items | 385.4 kB | 0 | |
What's Changed
Functional Changes
- assert: make *AssertionFunc types just aliases by @dolmen in https://github.com/stretchr/testify/pull/1563
Fixes
- mock: avoid panic when expected type is nil in Arguments.Diff by @mutaiib in https://github.com/stretchr/testify/pull/1775
- mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by @brackendawson in https://github.com/stretchr/testify/pull/1786
- suite: validate method signatures and continue execution for valid tests by @vyas-git in https://github.com/stretchr/testify/pull/1665
- assert.PanicsWithError: report error message by @olivergondza in https://github.com/stretchr/testify/pull/1400
- assert: IsIncreasing et al can return false w/out failing by @brackendawson in https://github.com/stretchr/testify/pull/1787
- add type to error message of assert.Same by @egawata in https://github.com/stretchr/testify/pull/1792
- mock.AssertExpectationsForObjects fix panic with wrong testObject type. by @brackendawson in https://github.com/stretchr/testify/pull/1795
- assert: truncate very long objects in test failure messages by @brackendawson in https://github.com/stretchr/testify/pull/1646
- assert: fix NotSubset error messages using %#v instead of %q (fixes [#1800]) by @nghiack7 in https://github.com/stretchr/testify/pull/1888
- suite: prevent panic when SetupTest skips with HandleStats by @blackwell-systems in https://github.com/stretchr/testify/pull/1877
Documentation, Build & CI
- CI: test also with Go 1.23 by @dolmen in https://github.com/stretchr/testify/pull/1783
- Vendor unmaintained github.com/pmezard/go-difflib by @brackendawson in https://github.com/stretchr/testify/pull/1708
- Promote ccoVeille to maintainer by @brackendawson in https://github.com/stretchr/testify/pull/1784
- build(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in https://github.com/stretchr/testify/pull/1790
- assert.YAMLEq: Document mutlidoc behavior by @brackendawson in https://github.com/stretchr/testify/pull/1791
- _codegen: copy dependency github.com/ernesto-jimenez/gogen/imports by @dolmen in https://github.com/stretchr/testify/pull/1782
- doc: remove ineffective inline code blocks by @brackendawson in https://github.com/stretchr/testify/pull/1714
- Tag generated assertions as non-generated in new .gitattributes by @ubunatic in https://github.com/stretchr/testify/pull/1815
- chore: vendor go-spew from https://github.com/davecgh/go-spew by @ccoVeille in https://github.com/stretchr/testify/pull/1827
- require: fix godoc generation for assertions returning a bool by @Baxromumarov in https://github.com/stretchr/testify/pull/1850
- docs(require): correct example usage to use assert.CollectT (require.CollectT does not exist) by @a2not in https://github.com/stretchr/testify/pull/1821
- docs: Fix EventuallyWithTf documentation with proper placement of formatting arguments by @a2not in https://github.com/stretchr/testify/pull/1842
- EMERITUS.md: add @tylerb by @dolmen in https://github.com/stretchr/testify/pull/1812
- CI: test also with Go 1.24 by @alexandear in https://github.com/stretchr/testify/pull/1856
- deps: bump objx to v0.5.3 and remove dependency cycle issue by @ccoVeille in https://github.com/stretchr/testify/pull/1823
- CI: upgrade GitHub Actions and pin hashes by @SuperQ in https://github.com/stretchr/testify/pull/1883
- CI: add _readme-gofmt tool to reformat Go code in README by @dolmen in https://github.com/stretchr/testify/pull/1889
- CI: add check of GitHub Action pinned hashes against tag by @dolmen in https://github.com/stretchr/testify/pull/1885
- _codegen: modernize by @dolmen in https://github.com/stretchr/testify/pull/1890
- build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in https://github.com/stretchr/testify/pull/1906
- mock: Mock.Return does not exist anymore by @Kentzo in https://github.com/stretchr/testify/pull/1905
New Contributors
- @mutaiib made their first contribution in https://github.com/stretchr/testify/pull/1775
- @vyas-git made their first contribution in https://github.com/stretchr/testify/pull/1665
- @olivergondza made their first contribution in https://github.com/stretchr/testify/pull/1400
- @egawata made their first contribution in https://github.com/stretchr/testify/pull/1792
- @ubunatic made their first contribution in https://github.com/stretchr/testify/pull/1815
- @Baxromumarov made their first contribution in https://github.com/stretchr/testify/pull/1850
- @a2not made their first contribution in https://github.com/stretchr/testify/pull/1821
- @nghiack7 made their first contribution in https://github.com/stretchr/testify/pull/1888
- @blackwell-systems made their first contribution in https://github.com/stretchr/testify/pull/1877
- @Kentzo made their first contribution in https://github.com/stretchr/testify/pull/1905
Full Changelog: https://github.com/stretchr/testify/compare/v1.11.0...v1.12.0
What's Changed
- mock: avoid panic when expected type is nil in Arguments.Diff by @mutaiib in https://github.com/stretchr/testify/pull/1775
- CI: test also with Go 1.23 by @dolmen in https://github.com/stretchr/testify/pull/1783
- mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by @brackendawson in https://github.com/stretchr/testify/pull/1786
- suite: validate method signatures and continue execution for valid tests by @vyas-git in https://github.com/stretchr/testify/pull/1665
- Vendor unmaintained github.com/pmezard/go-difflib by @brackendawson in https://github.com/stretchr/testify/pull/1708
- Promote ccoVeille to maintainer by @brackendawson in https://github.com/stretchr/testify/pull/1784
- build(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in https://github.com/stretchr/testify/pull/1790
- assert.PanicsWithError: report error message by @olivergondza in https://github.com/stretchr/testify/pull/1400
- assert: IsIncreasing et al can return false w/out failing by @brackendawson in https://github.com/stretchr/testify/pull/1787
- add type to error message of assert.Same by @egawata in https://github.com/stretchr/testify/pull/1792
- assert.YAMLEq: Document mutlidoc behavior by @brackendawson in https://github.com/stretchr/testify/pull/1791
- mock.AssertExpectationsForObjects fix panic with wrong testObject type. by @brackendawson in https://github.com/stretchr/testify/pull/1795
- _codegen: copy dependency github.com/ernesto-jimenez/gogen/imports by @dolmen in https://github.com/stretchr/testify/pull/1782
- assert: truncate very long objects in test failure messages by @brackendawson in https://github.com/stretchr/testify/pull/1646
- doc: remove ineffective inline code blocks by @brackendawson in https://github.com/stretchr/testify/pull/1714
- Tag generated assertions as non-generated in new .gitattributes by @ubunatic in https://github.com/stretchr/testify/pull/1815
- chore: vendor go-spew from https://github.com/davecgh/go-spew by @ccoVeille in https://github.com/stretchr/testify/pull/1827
- require: fix godoc generation for assertions returning a bool by @Baxromumarov in https://github.com/stretchr/testify/pull/1850
- docs(require): correct example usage to use assert.CollectT (require.CollectT does not exist) by @a2not in https://github.com/stretchr/testify/pull/1821
- docs: Fix EventuallyWithTf documentation with proper placement of formatting arguments by @a2not in https://github.com/stretchr/testify/pull/1842
- EMERITUS.md: add @tylerb by @dolmen in https://github.com/stretchr/testify/pull/1812
- CI: test also with Go 1.24 by @alexandear in https://github.com/stretchr/testify/pull/1856
- deps: bump objx to v0.5.3 and remove dependency cycle issue by @ccoVeille in https://github.com/stretchr/testify/pull/1823
- CI: upgrade GitHub Actions and pin hashes by @SuperQ in https://github.com/stretchr/testify/pull/1883
- assert: fix NotSubset error messages using %#v instead of %q (fixes [#1800]) by @nghiack7 in https://github.com/stretchr/testify/pull/1888
- suite: prevent panic when SetupTest skips with HandleStats by @blackwell-systems in https://github.com/stretchr/testify/pull/1877
- CI: add _readme-gofmt tool to reformat Go code in README by @dolmen in https://github.com/stretchr/testify/pull/1889
- CI: add check of GitHub Action pinned hashes against tag by @dolmen in https://github.com/stretchr/testify/pull/1885
- _codegen: modernize by @dolmen in https://github.com/stretchr/testify/pull/1890
- assert: make *AssertionFunc types just aliases by @dolmen in https://github.com/stretchr/testify/pull/1563
- build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in https://github.com/stretchr/testify/pull/1906
- mock: Mock.Return does not exist anymore by @Kentzo in https://github.com/stretchr/testify/pull/1905
New Contributors
- @mutaiib made their first contribution in https://github.com/stretchr/testify/pull/1775
- @vyas-git made their first contribution in https://github.com/stretchr/testify/pull/1665
- @olivergondza made their first contribution in https://github.com/stretchr/testify/pull/1400
- @egawata made their first contribution in https://github.com/stretchr/testify/pull/1792
- @ubunatic made their first contribution in https://github.com/stretchr/testify/pull/1815
- @Baxromumarov made their first contribution in https://github.com/stretchr/testify/pull/1850
- @a2not made their first contribution in https://github.com/stretchr/testify/pull/1821
- @nghiack7 made their first contribution in https://github.com/stretchr/testify/pull/1888
- @blackwell-systems made their first contribution in https://github.com/stretchr/testify/pull/1877
- @Kentzo made their first contribution in https://github.com/stretchr/testify/pull/1905
Full Changelog: https://github.com/stretchr/testify/compare/v1.11.0...v1.12.0