Update minitest 5.15.0 → 5.20.0 (minor) - #71
Closed
depfu[bot] wants to merge 1 commit into
Closed
Conversation
Contributor
Author
|
Closed in favor of #77. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ minitest (5.15.0 → 5.20.0) · Repo · Changelog
Release Notes
5.20.0 (from changelog)
5.19.0 (from changelog)
5.18.1 (from changelog)
5.18.0 (from changelog)
5.17.0 (from changelog)
5.16.3 (from changelog)
5.16.2 (from changelog)
5.16.1 (from changelog)
5.16.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 72 commits:
prepped for release+ Optionally allow autorun exit hook to remain active in forked child. (casperisfine)Fixed skip messages for non-forking systems. (casperisfine)prepped for release+ Add metadata lazy accessor to Runnable / Result. (matteeyah)- Minitest::TestTask enthusiastically added itself to default. (ParadoxV5)+ Only load minitest/unit (aka ancient MiniTest compatibility layer) if ENV["MT_COMPAT"]Replace 'MiniTest' with 'Minitest' in example code. (sambostock)prepped for releaseRemoved 2.6 from CI.- Avoid extra string allocations when filtering tests. (tenderlove)- Only mention deprecated ENV['N'] if it is an integer string.- Push up test_order to Minitest::Runnable to fix minitest/hell. (koic)Use minitest organization in links (hsbt)updated dates / versions in rails faqprepped for release! Added assert_pattern & refute_pattern for pattern matching. (flavorjones)Fixed typo in doco. (ahangarha)- Support the new message format of NameError in Ruby 3.3 (mame)Add 2.6 to matrix... stays until some rails versions expire, sadly.Adds Ruby 3.2 to the CI matrix. Also updates checkout action version. (petergoldstein)Minor tweak to Rakefile to fix CI on older rubiesprepped for release- Fix kwargs for Mock calls to delegator. (blowmage)- Fix kwargs for expectations. (bobmazanec, blowmage)Add EOL date to rails matrixcleaned up rails versionUpdated README for rails/ruby compatibilty matrixFixed race condition causing flaky tests. (XrXr)get rake dcov back to 100%+ Refactor setup hooks into a SETUP_METHODS constant. (MSP-Greg)- Remove check for .b method. (tenderlove)prepped for releaseAdded minitest-cc to extension list- Use A instead of deprecated TESTOPTS in rake test:slow. (davidstosik)Fixed typo in readme (ksss)- Fixed exception sanitization by removing TypeError restriction on rescue.prepped for releaseCI: just show dots pleasehaha- Added MT_KWARGS_HACK kludge for stub to deal with ruby 2.7 kwargs nastiness. (tsugimoto)- Nuke ivars if exception fails to marshal twice (eg better_errors). (irphilli)- In #expect, pop Hash class from args if $MT_KWARGS_HACK. (casperisfine)prepped for release- Clarified some doco wrt the block on #stub.- Apparently adding real kwarg support to mocks/stubs broke some code. Fixed.! Dropping ruby 2.2 - 2.5. 2.6 is DTM soon too.prepped for releaseFixed a test that's broken if only 1 CPU (eg, my server... oops)- Had to patch up mock and stub to deal with <=2.7 kwargs odditiesFinally flushed out the last edge cases (that I can find) for mocks wrt kwargs.- Extended Mock#expect to record kwargs.oops... this part of the exception is only on ruby 3.1+- (Re)Fixed marshalling of exceptions, neutering them in 2 passes.refactored method checks into a custom assertion. (tenderlove)! Added Minitest::TestTask.Renamed Minitest::SEED to Minitest.seed+ Added --show-skips option to show skips at end of run but not require --verbose. (MSP-Greg)- Fixed more problems with rdoc.oops+ Added Minitest::SEED, the random seed used by the run.+ Removed minor optimization removing empty suites before run.+ assert_match now returns the MatchData on success. (Nakilon)Drop ruby 2.2-2.6 from CI now that rails 5.2 is EOL! YAY! Other simplifications as well.Drop windows from the CI matrix and run windows-latest + ruby-latest. It's SO slow and not really worth the extra effort.don't use bundler for either test tasksetup-ruby prints the versionBumped CI a fair amountAdded stubberry to readme. (alekseyl)Fixed random test failure because of parallel execution. (mame)Replaced http with https whenever such link exists. (apatniv)Updated the test suite to handle ASCII-8BIT renaming. (casperisfine)Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands