adequate_serialization
adequate_serialization copied to clipboard
Bump minitest from 5.15.0 to 5.16.3
Bumps minitest from 5.15.0 to 5.16.3.
Changelog
Sourced from minitest's changelog.
=== 5.16.3 / 2022-08-17
2 bug fixes:
- Fixed exception sanitization by removing TypeError restriction on rescue.
- Use A instead of deprecated TESTOPTS in rake test:slow. (davidstosik)
=== 5.16.2 / 2022-07-03
4 bug fixes:
- Added MT_KWARGS_HACK kludge for stub to deal with ruby 2.7 kwargs nastiness. (tsugimoto)
- In #expect, pop Hash class from args if $MT_KWARGS_HACK. (casperisfine)
- In above scenario, set expected kwargs (as Objects) based on actual kwargs.
- Nuke ivars if exception fails to marshal twice (eg better_errors). (irphilli)
=== 5.16.1 / 2022-06-20
2 bug fixes:
- Apparently adding real kwarg support to mocks/stubs broke some code. Fixed.
- Use
MT_KWARGS_HACK=1to activate the kludgy kwargs support w/ caveats.- Clarified some doco wrt the block on #stub.
=== 5.16.0 / 2022-06-14
2 major enhancements:
- Added Minitest::TestTask.
- Dropping ruby 2.2 - 2.5. 2.6 is DTM soon too.
11 minor enhancements:
- Added --show-skips option to show skips at end of run but not require --verbose. (MSP-Greg)
- Added Minitest.seed, the random seed used by the run.
- Calling
srand Minitest.seedbefore all shuffles to ensure determinism.- Extended #stub to handle kwargs for both block and call args. (SampsonCrowley)
- Extended Mock#__call to display kwargs.
- Extended Mock#expect to record kwargs.
- Extended Mock#method_missing to take kwargs & compare them against expected.
- Mock#method_missing displays better errors on arity mismatch.
- Removed minor optimization removing empty suites before run.
- Simplified test randomization (test order will change even with fixed seed).
- assert_match now returns the MatchData on success. (Nakilon)
3 bug fixes:
- (Re)Fixed marshalling of exceptions, neutering them in 2 passes.
- Fixed more problems with rdoc.
- Had to patch up mock and stub to deal with <=2.7 kwargs oddities
Commits
4accdd5prepped for release640de3aAdded minitest-cc to extension list8498ebe- Use A instead of deprecated TESTOPTS in rake test:slow. (davidstosik)38b5512Fixed typo in readme (ksss)d24fba6- Fixed exception sanitization by removing TypeError restriction on rescue.9c5f100prepped for release9d05be9CI: just show dots please8e7b05ehahab8ddc4f- Added MT_KWARGS_HACK kludge for stub to deal with ruby 2.7 kwargs nastiness...6bd249b- Nuke ivars if exception fails to marshal twice (eg better_errors). (irphilli)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)