---
title: "rubocop-minitest 0.41.0 Breaking Changes on RubyGems"
description: "What each rubocop-minitest release removed, renamed or changed: 27 breaking changes in 15 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/rubocop-minitest
last_updated: 2026-12-04
---

# 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

Latest version `0.41.0`, released October 2, 2026. [Source repository](https://github.com/rubocop/rubocop-minitest)

Its 0.31.0 release drops Ruby 2.6. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.9.0](#v-0-9-0) to [0.41.0](#v-0-41-0): 25 breaking changes in 14 versions.

## rubocop-minitest 0.41.0 breaking changes

rubocop-minitest 0.41.0, released October 2, 2026: 1 breaking change.

- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.41.0)

## rubocop-minitest 0.40.0 breaking changes

rubocop-minitest 0.40.0, released July 20, 2026: 3 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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.40.0)
- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.40.0)
- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.40.0)

## rubocop-minitest 0.39.0 breaking changes

rubocop-minitest 0.39.0, released February 24, 2026: 1 breaking change.

- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.39.0)

## rubocop-minitest 0.37.0 breaking changes

rubocop-minitest 0.37.0, released February 15, 2025: 1 breaking change.

- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.37.0)

## rubocop-minitest 0.36.0 breaking changes

rubocop-minitest 0.36.0, released August 31, 2024: 1 breaking change.

- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.36.0)

## rubocop-minitest 0.34.0 breaking changes

rubocop-minitest 0.34.0, released December 16, 2023: 2 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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.34.0)
- **Configuration changed**  

Projects pinned to an older rubocop-ast must upgrade it to use this release. [github.com](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.34.0)

## Older versions

9 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### rubocop-minitest 0.33.0 breaking changes

rubocop-minitest 0.33.0, released October 21, 2023: 1 breaking change.

- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.33.0)

### rubocop-minitest 0.31.0 breaking changes

rubocop-minitest 0.31.0, released May 6, 2023: 1 breaking change.

- **Removed**  

Ruby 2.6 is no longer supported; users on Ruby 2.6 must upgrade Ruby before using this release. [github.com](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.31.0)

### rubocop-minitest 0.27.0 breaking changes

rubocop-minitest 0.27.0, released January 30, 2023: 3 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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.27.0)
- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.27.0)

And 1 more in this version.

### rubocop-minitest 0.26.0 breaking changes

rubocop-minitest 0.26.0, released January 14, 2023: 6 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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.26.0)
- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.26.0)

And 4 more in this version.

### rubocop-minitest 0.20.0 breaking changes

rubocop-minitest 0.20.0, released May 28, 2022: 1 breaking change.

- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.20.0)

### rubocop-minitest 0.12.0 breaking changes

rubocop-minitest 0.12.0, released April 23, 2021: 1 breaking change.

- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.12.0)

### rubocop-minitest 0.11.0 breaking changes

rubocop-minitest 0.11.0, released March 21, 2021: 2 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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.11.0)
- **Configuration changed**  

The gem now requires RuboCop 0.90 or later. Projects using an older RuboCop must upgrade it. [github.com](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.11.0)

### rubocop-minitest 0.10.0 breaking changes

rubocop-minitest 0.10.0, released July 12, 2020: 1 breaking change.

- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.10.0)

### rubocop-minitest 0.9.0 breaking changes

rubocop-minitest 0.9.0, released April 13, 2020: 2 breaking changes.

- **Removed**  

Ruby 2.3 is no longer supported. Upgrade Ruby to a supported version before using this release. [github.com](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.9.0)
- **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](https://github.com/rubocop/rubocop-minitest/releases/tag/v0.9.0)

## Related packages

- [rubocop-capybara](https://since.dev/packages/gem/rubocop-capybara.md)
- [rubocop-md](https://since.dev/packages/gem/rubocop-md.md)
- [rubocop-rake](https://since.dev/packages/gem/rubocop-rake.md)
- [rubocop-rspec](https://since.dev/packages/gem/rubocop-rspec.md)
- [rubocop-thread_safety](https://since.dev/packages/gem/rubocop-thread%5Fsafety.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
