Sourced from github.com/stretchr/testify's releases.
v1.10.0
What's Changed
Functional Changes
- Add PanicAssertionFunc by
@fahimbagar
in stretchr/testify#1337- assert: deprecate CompareType by
@dolmen
in stretchr/testify#1566- assert: make YAML dependency pluggable via build tags by
@dolmen
in stretchr/testify#1579- assert: new assertion NotElementsMatch by
@hendrywiranto
in stretchr/testify#1600- mock: in order mock calls by
@ReyOrtiz
in stretchr/testify#1637- Add assertion for NotErrorAs by
@palsivertsen
in stretchr/testify#1129- Record Return Arguments of a Call by
@jayd3e
in stretchr/testify#1636- assert.EqualExportedValues: accepts everything by
@redachl
in stretchr/testify#1586Fixes
- assert: make tHelper a type alias by
@dolmen
in stretchr/testify#1562- Do not get argument again unnecessarily in Arguments.Error() by
@TomWright
in stretchr/testify#820- Fix time.Time compare by
@myxo
in stretchr/testify#1582- assert.Regexp: handle []byte array properly by
@kevinburkesegment
in stretchr/testify#1587- assert: collect.FailNow() should not panic by
@marshall-lee
in stretchr/testify#1481- mock: simplify implementation of FunctionalOptions by
@dolmen
in stretchr/testify#1571- mock: caller information for unexpected method call by
@spirin
in stretchr/testify#1644- suite: fix test failures by
@stevenh
in stretchr/testify#1421- Fix issue #1662 (comparing infs should fail) by
@ybrustin
in stretchr/testify#1663- NotSame should fail if args are not pointers #1661 by
@sikehish
in stretchr/testify#1664- Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in CI by
@sikehish
in stretchr/testify#1667- fix: compare functional option names for indirect calls by
@arjun-1
in stretchr/testify#1626Documantation, Build & CI
- .gitignore: ignore "go test -c" binaries by
@dolmen
in stretchr/testify#1565- mock: improve doc by
@dolmen
in stretchr/testify#1570- mock: fix FunctionalOptions docs by
@snirye
in stretchr/testify#1433- README: link out to the excellent testifylint by
@brackendawson
in stretchr/testify#1568- assert: fix typo in comment by
@JohnEndson
in stretchr/testify#1580- Correct the EventuallyWithT and EventuallyWithTf example by
@JonCrowther
in stretchr/testify#1588- CI: bump softprops/action-gh-release from 1 to 2 by
@dependabot
in stretchr/testify#1575- mock: document more alternatives to deprecated AnythingOfTypeArgument by
@dolmen
in stretchr/testify#1569- assert: Correctly document EqualValues behavior by
@brackendawson
in stretchr/testify#1593- fix: grammar in godoc by
@miparnisari
in stretchr/testify#1607- .github/workflows: Run tests for Go 1.22 by
@HaraldNordgren
in stretchr/testify#1629- Document suite's lack of support for t.Parallel by
@brackendawson
in stretchr/testify#1645- assert: fix typos in comments by
@alexandear
in stretchr/testify#1650- mock: fix doc comment for NotBefore by
@alexandear
in stretchr/testify#1651- Generate better comments for require package by
@Neokil
in stretchr/testify#1610- README: replace Testify V2 notice with
@dolmen
's V2 manifesto by@hendrywiranto
in stretchr/testify#1518New Contributors
@fahimbagar
made their first contribution in stretchr/testify#1337@TomWright
made their first contribution in stretchr/testify#820@snirye
made their first contribution in stretchr/testify#1433@myxo
made their first contribution in stretchr/testify#1582@JohnEndson
made their first contribution in stretchr/testify#1580
... (truncated)
89cbdd9
Merge pull request #1626
from arjun-1/fix-functional-options-diff-indirect-calls07bac60
Merge pull request #1667
from sikehish/flaky716de8d
Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in
CI118fb83
NotSame should fail if args are not pointers #1661
(#1664)7d99b2b
attempt 205f87c0
more similarea7129e
better fmta1b9c9e
Merge pull request #1663
from ybrustin/master8302de9
Merge branch 'master' into master89352f7
Merge pull request #1518
from hendrywiranto/adjust-readme-remove-v2