Skip to content

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Dec 19, 2025


Welcome to Depfu 👋

This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.

After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.

Let us know if you have any questions. Thanks so much for giving Depfu a try!


Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ minitest (~> 5.4.2 → ~> 6.0.0) · Repo · Changelog

Release Notes

6.0.0 (from changelog)

This is a major release. Read this.

Please give feedback here: github.com/minitest/minitest/issues/1040

Oh god… here we go… (again)

  • 8 deaths in the family(!!):

    • Deleted MiniTest and MiniTest::Unit::TestCase compatibility namespaces.

    • Deleted all use of Marshal for serialization.

    • Deleted maglev? and rubinius? guard methods. LOL.

    • Deleted all minitest/spec expectations from Object. Use _/value/expect.

    • Dropped minitest/mock.rb. This has been extracted to the minitest-mock gem.

    • assert_equal(nil, value) no longer allowed. Use assert_nil to be explicit.

    • Removed assert_send. Use assert_predicate or assert_operator.

    • Removed Minitest::Test#class_name.

  • 7 major (oft incompatible) changes:

    • Big: Major refactored MT6’s run path!

      • Minitest.__run -> Minitest.run_all_suites

      • Runnable.run -> Runnable.run_suite & Runnable.filter_runnable_methods

      • Runnable.run_one_method -> Runnable.run

      • Removed Minitest.run_one_method (might bring it back to raise?)

    • Removed deprecated ENV["N"] to specify number of parallel tests. Use MT_CPU.

    • Renamed options[:filter] to options[:include], added --include cmdline option.

      • --name is still handled, but that will be removed in the future.

    • Renamed Minitest::Runnable#test_order to #run_order.

    • If #message is passed a proc then that proc overrides all other output.

      • They are no longer chained!

      • And it does less for formatting of your output.

    • Removed reporter arg from with_info_handler as it has never(?) been used. (HACK?)

    • Plugin loading is now opt-in!

      • Require the plugin in your test_helper.

      • Or use Minitest.load :x

      • Or call Minitest.load_plugins for the old autoloading behavior.

  • 5 additions:

    • Added minitest-sprint’s minitest cmdline, now with line support!

    • Added minitest-bisect. Run with minitest –bisect or -b.

    • Added minitest-server.

    • Added minitest/complete to help with shell’s tab-completion of tests.

    • Vendored latest version of path_expander.

  • 5 other:

    • Bumped to ruby 3.2+.

    • Removed obsolete conditional for CompositeReporter#prerecord.

    • Removed obsolete version guards around Minitest::Result in reporters.

    • assert_operator and assert_predicate both call assert_respond_to first.

    • Assertions reuse themselves a lot more. Bumps assertion count in some places.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 28 commits:


Depfu Status

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
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant