Skip to content

Update minitest requirement from ~> 5.0 to ~> 6.0#298

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bundler/minitest-tw-6.0
Open

Update minitest requirement from ~> 5.0 to ~> 6.0#298
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bundler/minitest-tw-6.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 30, 2026

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Updates the requirements on minitest to permit the latest version.

Changelog

Sourced from minitest's changelog.

=== 6.0.1 / 2025-12-26

  • 1 minor enhancement:

    • Added new rake task test:fu to Minitest::TestTask, to only run tests with FU (focused units?) in their name. This should mostly obviate the need for the minitest-focus plugin.
  • 5 bug fixes:

    • Fixed --help and --version exiting 1. (grosser)
    • Fixed method signature of Minitest::Benchmark.run. (flavorjones)
    • Flush stdout/stderr before exit./bin/minitest -Ilib ./bug1046.rb:1 < /dev/null (grosser)
    • Improved usage banner output by reordering and reformatting.
    • Normalize paths while processing file.rb:line args.

=== 6.0.0 / 2025-12-17

This is a major release. Read this.

Please give feedback here: minitest/minitest#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?)

... (truncated)

Commits
  • edd37ce prepped for release
  • 248c9e2 - Fixed method signature of Minitest::Benchmark.run. (flavorjones)
  • 18bbdb1 - Flush stdout/stderr before exit./bin/minitest -Ilib ./bug1046.rb:1 < /dev/n...
  • 50a1b1f - Normalize paths while processing file.rb:line args.
  • 372b997 - Fixed --help and --version exiting 1. (grosser)
  • c05a898 - Improved usage banner output by reordering and reformatting.
  • 692c2e7 + Added new rake task test:fu to Minitest::TestTask, to only run tests with...
  • 5bbab5c Fix format of History.rdoc. (y-yagi)
  • 2f3d88e prepped for release
  • 756f965 Add Hoe's :cov plugin and start to look at gaps
  • 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jan 30, 2026
Updates the requirements on [minitest](https://github.com/minitest/minitest) to permit the latest version.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](minitest/minitest@v5.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: minitest
  dependency-version: 6.0.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/minitest-tw-6.0 branch from 7e3d753 to 5254874 Compare February 2, 2026 14:42
@TonsOfFun TonsOfFun requested a review from Copilot February 27, 2026 02:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates this gem’s development dependency constraint for minitest to allow the latest major version (6.x), aligning the repo’s test tooling with the newest Minitest release.

Changes:

  • Bump minitest development dependency from ~> 5.0 to ~> 6.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

spec.add_development_dependency "puma"
spec.add_development_dependency "sqlite3"
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "minitest", "~> 6.0"
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minitest 6 removed minitest/mock (extracted to the minitest-mock gem). This repo currently requires minitest/mock in test/test_helper.rb and uses Minitest::Mock in multiple tests, so bumping to ~> 6.0 will break the test suite unless minitest-mock is added as a development dependency (or the tests are updated to avoid it).

Suggested change
spec.add_development_dependency "minitest", "~> 6.0"
spec.add_development_dependency "minitest", "~> 6.0"
spec.add_development_dependency "minitest-mock"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant