Releases: stretchr/testify
v1.7.2
What's Changed
- Update versions supported to include
go 1.16
by @jeffwidman in #1055 - assert: fix typo by @cuishuang in #1164
- fix data race in the suit by @hawkingrei in #1165
- Bump actions/setup-go from 2 to 3.1.0 by @dependabot in #1186
- Update go versions in build matrix by @jeffwidman in #1171
- Update gopkg.in/yaml.v3 by @ingwarsw in #1192
New Contributors
- @jeffwidman made their first contribution in #1055
- @cuishuang made their first contribution in #1164
- @hawkingrei made their first contribution in #1165
- @ingwarsw made their first contribution in #1192
Full Changelog: v1.7.1...v1.7.2
v1.7.1
What's Changed
- Change Readme to reflect supported Go versions by @prochac in #1039
- fix the output source file in test output by @fefe982 in #1026
- Add ErrorContains by @alxn in #1022
- Make sure time.Time comparison produces a helpful diff. closes #989 by @HaraldNordgren in #1072
- Add String method to Mock to fix #423 by @neilisaac in #694
- Use GitHub actions by @boyan-soubachov in #1096
- Fix NaN similarity checks by @mvrahden in #1085
- Set up Dependabot by @mmorel-35 in #1100
- Improve mock.MatchedBy failed comparison Diff message by @perrydunn in #1074
- Fix #1083 (Nil-pointer dereference) by @mvrahden in #1084
- Update builds by @boyan-soubachov in #1156
- fix format strings support via msgAndArgs forwarding by @ikravets in #1150
- assert: allow comparing time.Time by @torkelrogstad in #1149
- Fixed didPanic to now detect panic(nil). by @RmbRT in #793
New Contributors
- @prochac made their first contribution in #1039
- @fefe982 made their first contribution in #1026
- @alxn made their first contribution in #1022
- @neilisaac made their first contribution in #694
- @mvrahden made their first contribution in #1085
- @mmorel-35 made their first contribution in #1100
- @perrydunn made their first contribution in #1074
- @ikravets made their first contribution in #1150
- @RmbRT made their first contribution in #793
Full Changelog: v1.7.0...v1.7.1
Minor improvements and bug fixes
Minor feature improvements and bug fixes
Fixes breaking change with HTTPBodyContains
A breaking change was accidentally released in v1.6.0 which breaks the API for the HTTPBodyContains
and HTTPBodyNotContains
, this release reverts that change.
v1.6.0
Latest release of testify. This includes many fixes and enhancements. Please view the v1.6.0 milestone for a list of changes.
HOTFIX: Revert suite interface type
This is a hotfix which reverts the suite
package's interface type to use testing.T
v1.5.0
Latest, non-breaking changes merged into master. Please peruse the git log for a detailed changelist
v1.4.0
The 1.4.0 release includes new matchers and bug fixes. See the v.1.4.0 milestone for a complete list of closed issues associated with this release.
v1.3.0
Pull requests included in this release:
- #678 - Fixed incorrect comment
- #661 - Allow assert.Equal on string type alias without panicking on failure
- #659 - Add Go1.11 to CI
- #682 - update comment to match function name
- #688 - Bump Go versions and use '.x' to always get latest minor versions
- #648 - Update the LICENSE to match the 'standard' MIT license file
- #699 - Support arbitrary objects as the sole element in msgAndArgs
- #696 - Recover panic in suite
- #655 - Add support for subtests (go 1.7)
- #607 - Add go.mod and go.modverify
- #670 - Fix typo ("PASS" -> "FAIL")
- #712 - Preserve stack frame for mock parent method call
- #707 - fix for comparing kinds
- #697 - Update readme to deprecate http and include available packages
v1.2.2
- f35b8ab - Restore type information to matched output message
- e494407 - Use %v to print matched argument values
- 38eb60e - http_assertions: regenerate
- adc0360 - http_assertions: fix docs (missing methods)
- 26d6fa0 - More concrete error in Panics and PanicsWithValue
- 1c264b1 - Refactor ObjectsAreEqual()
- 2a15e20 - support diff display for string variables
- ef2d015 - Run generator
- 89226b8 - Compact template
- 6c9d18a - Optimise template
- c679ae2 - add function aliases for common assert and requires function signatures to make table driven tests easier
- 380174f - Add placeholder example to docs
- 33951ec - Add T object and Test method to Mock
- 20dae58 - mock_test: remove unecessary code
- 4c1331b - Anything: remove unecessary type
- 921da25 - Displaying mismatch information of arguments diff while panic for closest function call. closes #556
- 6efb0c4 - Adding url.Values to request RawQuery, fixes 522
- b89eecf - Improve errors from mock assertions
- 0bfbef4 - Modify AssertCalled and AssertNotCalled to give better error messages
- bfc7630 - Add note about supported go versions to readme
- 662d1e6 - Bump go version to 1.10
- be8372a - Adding logging when mock assertions fails
- a726187 - Fix vim-go integration and other editors
- 8824eb4 - Store CallerInfo when On() is called and print for missing calls during AssertExpectations.