Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2025

Bumps minitest from 5.25.5 to 6.0.0.

Changelog

Sourced from minitest's changelog.

=== 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?)
    • 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+.

... (truncated)

Commits
  • 2f3d88e prepped for release
  • 756f965 Add Hoe's :cov plugin and start to look at gaps
  • 94a790e - Removed MT5's post_install_message.
  • 8a50ebf - Bumped to ruby 3.2+
  • 1fceffd - Removed obsolete version guards around Minitest::Result in reporters.
  • c5adbd7 - Removed obsolete conditional for CompositeReporter#prerecord.
  • 27ef422 + Added minitest/complete to help with shell's tab-completion of tests.
  • 0c0c329 + Renamed options[:filter] to options[:include], added --include cmdline option.
  • d597d05 + If message is passed a proc then that proc overrides all other output.
  • 3c6300c + Assertions reuse themselves a lot more. Bumps assertion count in some places.
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [minitest](https://github.com/minitest/minitest) from 5.25.5 to 6.0.0.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](minitest/minitest@v5.25.5...v6.0.0)

---
updated-dependencies:
- dependency-name: minitest
  dependency-version: 6.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Dec 18, 2025
@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

gem compare minitest 5.25.5 6.0.0

Compared versions: ["5.25.5", "6.0.0"]
  DIFFERENT date:
    5.25.5: 2025-03-12 00:00:00 UTC
    6.0.0: 1980-01-02 00:00:00 UTC
  DIFFERENT description:
    5.25.5: minitest provides a complete suite of testing facilities supporting
TDD, BDD, mocking, and benchmarking.

    "I had a class with Jim Weirich on testing last week and we were
     allowed to choose our testing frameworks. Kirk Haines and I were
     paired up and we cracked open the code for a few test
     frameworks...

     I MUST say that minitest is *very* readable / understandable
     compared to the 'other two' options we looked at. Nicely done and
     thank you for helping us keep our mental sanity."

    -- Wayne E. Seguin

minitest/test is a small and incredibly fast unit testing framework.
It provides a rich set of assertions to make your tests clean and
readable.

minitest/spec is a functionally complete spec engine. It hooks onto
minitest/test and seamlessly bridges test assertions over to spec
expectations.

minitest/benchmark is an awesome way to assert the performance of your
algorithms in a repeatable manner. Now you can assert that your newb
co-worker doesn't replace your linear algorithm with an exponential
one!

minitest/mock by Steven Baker, is a beautifully tiny mock (and stub)
object framework.

minitest/pride shows pride in testing and adds coloring to your test
output. I guess it is an example of how to write IO pipes too. :P

minitest/test is meant to have a clean implementation for language
implementors that need a minimal set of methods to bootstrap a working
test suite. For example, there is no magic involved for test-case
discovery.

    "Again, I can't praise enough the idea of a testing/specing
     framework that I can actually read in full in one sitting!"

    -- Piotr Szotkowski

Comparing to rspec:

    rspec is a testing DSL. minitest is ruby.

    -- Adam Hawkins, "Bow Before MiniTest"

minitest doesn't reinvent anything that ruby already provides, like:
classes, modules, inheritance, methods. This means you only have to
learn ruby to use minitest and all of your regular OO practices like
extract-method refactorings still apply.
    6.0.0: minitest provides a complete suite of testing facilities supporting
TDD, BDD, and benchmarking.

    "I had a class with Jim Weirich on testing last week and we were
     allowed to choose our testing frameworks. Kirk Haines and I were
     paired up and we cracked open the code for a few test
     frameworks...

     I MUST say that minitest is *very* readable / understandable
     compared to the 'other two' options we looked at. Nicely done and
     thank you for helping us keep our mental sanity."

    -- Wayne E. Seguin

minitest/test is a small and incredibly fast unit testing framework.
It provides a rich set of assertions to make your tests clean and
readable.

minitest/spec is a functionally complete spec engine. It hooks onto
minitest/test and seamlessly bridges test assertions over to spec
expectations.

minitest/benchmark is an awesome way to assert the performance of your
algorithms in a repeatable manner. Now you can assert that your newb
co-worker doesn't replace your linear algorithm with an exponential
one!

minitest/pride shows pride in testing and adds coloring to your test
output. I guess it is an example of how to write IO pipes too. :P

minitest/test is meant to have a clean implementation for language
implementors that need a minimal set of methods to bootstrap a working
test suite. For example, there is no magic involved for test-case
discovery.

    "Again, I can't praise enough the idea of a testing/specing
     framework that I can actually read in full in one sitting!"

    -- Piotr Szotkowski

Comparing to rspec:

    rspec is a testing DSL. minitest is ruby.

    -- Adam Hawkins, "Bow Before MiniTest"

minitest doesn't reinvent anything that ruby already provides, like:
classes, modules, inheritance, methods. This means you only have to
learn ruby to use minitest and all of your regular OO practices like
extract-method refactorings still apply.
  DIFFERENT executables:
    5.25.5: []
    6.0.0: ["minitest"]
  DIFFERENT homepage:
    5.25.5: https://github.com/minitest/minitest
    6.0.0: https://minite.st/
  DIFFERENT metadata:
    5.25.5: {"homepage_uri" => "https://github.com/minitest/minitest", "bug_tracker_uri" => "https://github.com/minitest/minitest/issues", "changelog_uri" => "https://github.com/minitest/minitest/blob/master/History.rdoc"}
    6.0.0: {"homepage_uri" => "https://minite.st/", "source_code_uri" => "https://github.com/minitest/minitest", "bug_tracker_uri" => "https://github.com/minitest/minitest/issues", "changelog_uri" => "https://github.com/minitest/minitest/blob/master/History.rdoc"}
  DIFFERENT required_ruby_version:
    5.25.5: >= 2.7, < 4.0
    6.0.0: >= 3.2
  DIFFERENT rubygems_version:
    5.25.5: 3.6.3
    6.0.0: 3.7.2
  DIFFERENT summary:
    5.25.5: minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking
    6.0.0: minitest provides a complete suite of testing facilities supporting TDD, BDD, and benchmarking
  DIFFERENT version:
    5.25.5: 5.25.5
    6.0.0: 6.0.0
  DIFFERENT files:
    5.25.5->6.0.0:
      * Deleted:
            .autotest
            lib/minitest/mock.rb
            lib/minitest/unit.rb
            test/minitest/test_minitest_mock.rb
      * Added:
            bin/minitest +5/-0
              (!) Unexpected permissions: 100555
              (!) Shebang found: #!/usr/bin/env -S ruby
            lib/minitest/bisect.rb +306/-0
              (!) Unexpected permissions: 100444
            lib/minitest/complete.rb +56/-0
              (!) Unexpected permissions: 100555
              (!) File is executable
              (!) Shebang found: #!/usr/bin/env -S ruby
            lib/minitest/find_minimal_combination.rb +127/-0
              (!) Unexpected permissions: 100555
              (!) File is executable
              (!) Shebang found: #!/usr/bin/ruby -w
            lib/minitest/path_expander.rb +418/-0
              (!) Unexpected permissions: 100444
            lib/minitest/server.rb +45/-0
              (!) Unexpected permissions: 100444
            lib/minitest/server_plugin.rb +84/-0
              (!) Unexpected permissions: 100444
            lib/minitest/sprint.rb +104/-0
              (!) Unexpected permissions: 100444
            lib/minitest/sprint_plugin.rb +39/-0
              (!) Unexpected permissions: 100444
            test/minitest/test_bisect.rb +235/-0
              (!) Unexpected permissions: 100444
            test/minitest/test_find_minimal_combination.rb +138/-0
              (!) Unexpected permissions: 100555
              (!) File is executable
              (!) Shebang found: #!/usr/bin/ruby -w
            test/minitest/test_path_expander.rb +229/-0
              (!) Unexpected permissions: 100444
            test/minitest/test_server.rb +149/-0
              (!) Unexpected permissions: 100444
      * Changed:
            History.rdoc +116/-0
            Manifest.txt +13/-4
            README.rdoc +18/-98
            Rakefile +7/-2
            design_rationale.rb +21/-19
            lib/hoe/minitest.rb +2/-1
            lib/minitest.rb +94/-107
            lib/minitest/assertions.rb +37/-74
            lib/minitest/autorun.rb +3/-4
            lib/minitest/benchmark.rb +2/-2
            lib/minitest/hell.rb +1/-1
            lib/minitest/manual_plugins.rb +4/-16
            lib/minitest/parallel.rb +5/-3
            lib/minitest/pride.rb +2/-2
            lib/minitest/pride_plugin.rb +1/-1
            lib/minitest/spec.rb +11/-37
            lib/minitest/test.rb +8/-13
            lib/minitest/test_task.rb +32/-17
            test/minitest/metametameta.rb +1/-1
            test/minitest/test_minitest_assertions.rb +51/-108
            test/minitest/test_minitest_reporter.rb +6/-5
            test/minitest/test_minitest_spec.rb +60/-128
            test/minitest/test_minitest_test.rb +22/-101
  DIFFERENT extra_rdoc_files:
    5.25.5->6.0.0:
      * Changed:
            History.rdoc +116/-0
            Manifest.txt +13/-4
            README.rdoc +18/-98
  DIFFERENT runtime dependencies:
    5.25.5->6.0.0:
      * Added:
            prism ["~> 1.5"] (runtime)
  DIFFERENT development dependencies:
    5.25.5->6.0.0:
      * Added:
            simplecov ["~> 0.21"] (development)
      * Updated:
            hoe from: ["~> 4.2"] to: ["~> 4.3"]

@github-actions
Copy link
Contributor

gem compare --diff minitest 5.25.5 6.0.0

Diff too large (166830 chars)

@github-actions
Copy link
Contributor

gem compare prism 1.4.0 1.6.0

Compared versions: ["1.4.0", "1.6.0"]
  DIFFERENT date:
    1.4.0: 2025-03-18 00:00:00 UTC
    1.6.0: 1980-01-02 00:00:00 UTC
  DIFFERENT require_paths:
    1.4.0: ["/opt/hostedtoolcache/Ruby/3.4.8/x64/lib/ruby/gems/3.4.0/extensions/x86_64-linux/3.4.0/prism-1.4.0", "lib"]
    1.6.0: ["/opt/hostedtoolcache/Ruby/3.4.8/x64/lib/ruby/gems/3.4.0/extensions/x86_64-linux/3.4.0/prism-1.6.0", "lib"]
  DIFFERENT rubygems_version:
    1.4.0: 3.6.2
    1.6.0: 3.6.9
  DIFFERENT version:
    1.4.0: 1.4.0
    1.6.0: 1.6.0
  DIFFERENT files:
    1.4.0->1.6.0:
      * Added:
            lib/prism/polyfill/scan_byte.rb +14/-0
            lib/prism/polyfill/warn.rb +36/-0
            lib/prism/translation/parser_current.rb +24/-0
            sig/prism/parse_result/comments.rbs +38/-0
      * Changed:
            CHANGELOG.md +51/-1
            Makefile +4/-2
            README.md +2/-0
            config.yml +266/-38
            docs/design.md +2/-2
            docs/parser_translation.md +8/-23
            docs/releasing.md +5/-24
            docs/ripper_translation.md +1/-1
            ext/prism/api_node.c +2/-0
            ext/prism/extension.c +25/-3
            ext/prism/extension.h +1/-1
            include/prism.h +39/-14
            include/prism/ast.h +306/-50
            include/prism/diagnostic.h +5/-0
            include/prism/options.h +43/-3
            include/prism/regexp.h +2/-2
            include/prism/util/pm_buffer.h +8/-0
            include/prism/util/pm_integer.h +4/-0
            include/prism/util/pm_list.h +6/-0
            include/prism/util/pm_string.h +12/-2
            include/prism/version.h +2/-2
            lib/prism.rb +23/-0
            lib/prism/compiler.rb +456/-151
            lib/prism/desugar_compiler.rb +1/-0
            lib/prism/dispatcher.rb +16/-0
            lib/prism/dot_visitor.rb +5/-1
            lib/prism/dsl.rb +3/-0
            lib/prism/ffi.rb +25/-9
            lib/prism/inspect_visitor.rb +3/-0
            lib/prism/lex_compat.rb +1/-0
            lib/prism/mutation_compiler.rb +3/-0
            lib/prism/node.rb +507/-336
            lib/prism/node_ext.rb +4/-1
            lib/prism/pack.rb +2/-0
            lib/prism/parse_result.rb +1/-0
            lib/prism/parse_result/comments.rb +1/-0
            lib/prism/parse_result/errors.rb +1/-0
            lib/prism/parse_result/newlines.rb +1/-0
            lib/prism/pattern.rb +1/-0
            lib/prism/reflection.rb +3/-0
            lib/prism/relocation.rb +1/-0
            lib/prism/serialize.rb +25/-19
            lib/prism/string_query.rb +1/-0
            lib/prism/translation.rb +2/-0
            lib/prism/translation/parser.rb +21/-2
            lib/prism/translation/parser/builder.rb +1/-0
            lib/prism/translation/parser/compiler.rb +47/-25
            lib/prism/translation/parser/lexer.rb +29/-21
            lib/prism/translation/parser33.rb +1/-0
            lib/prism/translation/parser34.rb +1/-0
            lib/prism/translation/parser35.rb +1/-0
            lib/prism/translation/ripper.rb +17/-1
            lib/prism/translation/ripper/sexp.rb +1/-0
            lib/prism/translation/ruby_parser.rb +287/-4
            lib/prism/visitor.rb +457/-152
            prism.gemspec +5/-1
            rbi/prism/dsl.rbi +3/-3
            rbi/prism/node.rbi +21/-9
            sig/prism.rbs +4/-0
            sig/prism/dispatcher.rbs +3/-0
            sig/prism/dsl.rbs +3/-3
            sig/prism/node.rbs +444/-30
            sig/prism/node_ext.rbs +84/-17
            sig/prism/parse_result.rbs +4/-0
            sig/prism/reflection.rbs +1/-1
            src/diagnostic.c +9/-1
            src/node.c +2/-0
            src/options.c +2/-2
            src/prettyprint.c +2/-0
            src/prism.c +324/-147
            src/serialize.c +2/-0
            src/token_type.c +36/-34
            src/util/pm_string.c +6/-8

@github-actions
Copy link
Contributor

gem compare --diff prism 1.4.0 1.6.0

Diff too large (367471 chars)

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 29, 2025

Superseded by #848.

@dependabot dependabot bot closed this Dec 29, 2025
@dependabot dependabot bot deleted the dependabot/bundler/minitest-6.0.0 branch December 29, 2025 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant