rubocop-minitest breaking changes
rubocop-minitest 0.41.0 (October 2, 2026) is its newest release with breaking changes. The first: Lazy-load cops and mixins; requires RuboCop 1.89.0 or later in rubocop-minitest 0.41.0. Every breaking API change we have recorded in rubocop-minitest on RubyGems: 27 breaking changes in 15 versions. Below, its 15 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.41.0, released October 2, 2026. Source repository
Its 0.31.0 release drops Ruby 2.6. Ruby end of life dates.
rubocop-minitest 0.41.0 breaking changes
- Behavior changed
Loading rubocop-minitest now loads only the cops and mixins needed for a run. This requires RuboCop 1.89.0 or later. github.com
rubocop-minitest 0.40.0 breaking changes
- Default changed
The test configuration merges the default configuration for the cop under test and sets AllCops: TargetRubyVersion explicitly, which can change test results for existing tests. github.com - Signature changed
inspect_source
The cop argument was removed from inspect_source in the Minitest test support; the cop under test is now resolved automatically, so callers must drop that argument. github.com - Signature changed
investigate
The cop argument was removed from investigate in the Minitest test support; the cop under test is now resolved automatically, so callers must drop that argument. github.com
rubocop-minitest 0.39.0 breaking changes
- Default changed
Minitest.AssertEmptyLiteral
The Minitest/AssertEmptyLiteral cop no longer runs by default. To keep checking empty literals in assertions, enable it explicitly in your RuboCop configuration. github.com
rubocop-minitest 0.37.0 breaking changes
- Behavior changed
rubocop.minitest.support
rubocop/minitest/support no longer requires minitest/autorun or minitest/pride. Code that relied on those being loaded through it must require them directly. github.com
rubocop-minitest 0.36.0 breaking changes
- Behavior changed
AssertOffense
Using a Cop in AssertOffense whose class is not defined now raises a descriptive error. Code that relied on the previous failure behaviour should be checked. github.com
rubocop-minitest 0.34.0 breaking changes
- Behavior changed
Minitest.AssertSame
Code that compares object_id inside assert_same or refute_same may now get new offenses from this cop. github.com - Configuration changed
Projects pinned to an older rubocop-ast must upgrade it to use this release. github.com
Older versions
9 older versions, each with its first changes. Sign up to see every change
Show 9 older versions
rubocop-minitest 0.33.0 breaking changes
- Behavior changed
Minitest.RefuteEqual
The cop now reports refute(expected == actual) as an offense, so existing code using that form may show new lint failures. github.com
rubocop-minitest 0.31.0 breaking changes
- Removed
Ruby 2.6 is no longer supported; users on Ruby 2.6 must upgrade Ruby before using this release. github.com
rubocop-minitest 0.27.0 breaking changes
- Behavior changed
Only public methods without arguments whose names start with test_ are now considered test cases, so other methods are no longer checked as tests. github.com - Behavior changed
Minitest.AssertTruthy
The cop is now marked unsafe, so autocorrect with safe-autocorrect settings will no longer apply its fixes automatically. Review the changes or enable unsafe autocorrect to keep the previous behavior. github.com
And 1 more in this version.
rubocop-minitest 0.26.0 breaking changes
- Behavior changed
Minitest.AssertRaisesWithRegexpArgument
These cops now report offenses at warning severity, which may change how CI or editor output treats them. github.com - Behavior changed
Minitest.AssertTruthy
The cop's autocorrection is now marked unsafe, so autocorrect may not run by default without enabling unsafe autocorrections. github.com
And 4 more in this version.
rubocop-minitest 0.20.0 breaking changes
- Behavior changed
Ruby 2.5 is no longer supported by rubocop-minitest; upgrade to a newer Ruby version to keep using this release. github.com
rubocop-minitest 0.12.0 breaking changes
- Removed
Ruby 2.4 is no longer supported, so users on Ruby 2.4 must upgrade their Ruby version to use this release. github.com
rubocop-minitest 0.11.0 breaking changes
- Behavior changed
Minitest.AssertEmptyLiteral
The cop now flags assert_equal([], array) rather than assert([], array). Code that relied on the old check must be updated to match the new pattern. github.com - Configuration changed
The gem now requires RuboCop 0.90 or later. Projects using an older RuboCop must upgrade it. github.com
rubocop-minitest 0.10.0 breaking changes
- Configuration changed
The gem now needs RuboCop 0.87 or newer, so projects on older RuboCop versions must upgrade RuboCop before using this release. github.com
rubocop-minitest 0.9.0 breaking changes
- Removed
Ruby 2.3 is no longer supported. Upgrade Ruby to a supported version before using this release. github.com - Behavior changed
The Minitest department works on file names ending with _test.rb by default. Check that your test files follow this naming, or adjust your configuration. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.