Skip to content

Add Minitest 6 Support - #164

Merged
rmm5t merged 4 commits into
guard:masterfrom
rmm5t:minitest6
Jan 21, 2026
Merged

rmm5t merged 4 commits into
guard:masterfrom
rmm5t:minitest6

Conversation

@rmm5t

@rmm5t rmm5t commented Jan 8, 2026 •

Copy link
Copy Markdown
Member

What does it do?

  • Remove --guard flag for minitest 6 support
  • Limit minitest to v5 or v6
    Removes support for minintest v3 and v4 and requires ruby >= 3.2
  • Remove legacy old_runner for minitest < 5
  • Regen rubocop_todo.yml

What else do you need to know?

  • Afterwards, the goal of this PR is to lead in a new 3.0.0 release of guard-minitest.

Related Issues

@rmm5t

rmm5t commented Jan 13, 2026 •

Copy link
Copy Markdown
Member Author

@thibaudgg @rymai What's the appetite for more help here to get guard-minitest up and running with Minitest 6?

In addition to this PR, it looks like the CI suite could use some help both porting to github actions and also modernizing the build matrix. I'm happy to help if we can get more eyes on this gem.

@thibaudgg

Copy link
Copy Markdown
Member

Hey @rmm5t,

For full discloser, I haven't used guard and guard-minitest for quite a while now, so I'm a bit out of the loop. But please go ahead, I think it makes sense to first give the tests suite and CI a bit of love (even rewrite it all with minitest instead of RSpec) and then support minitest 6 (this PR). What do you think?

One concern would be backward compatibility, if those changes aren't compatible with minitest 5 then we should do a major gem version release.

@rmm5t rmm5t mentioned this pull request Jan 15, 2026
@rmm5t
rmm5t marked this pull request as draft January 16, 2026 18:47
@rmm5t

rmm5t commented Jan 16, 2026 •

Copy link
Copy Markdown
Member Author

@thibaudgg With #165 merged and a planned 2.x release of guard-minitest ahead of merging this PR, I think this PR is now lined up well to prepare for a later 3.x release. That way, we maintain backwards compatibility in 2.x while being able to look forward with 3.x releases.

/cc @rymai

@rmm5t
rmm5t marked this pull request as ready for review January 18, 2026 17:28
@rmm5t

rmm5t commented Jan 18, 2026

Copy link
Copy Markdown
Member Author

Friendly nudge here...mainly because I'll have time available this week to get guard-minitest versions up to snuff, and I have several projects that can benefit from minitest 6 and working guard workflows.

#165 (comment)

If willing to add me to rubygems and as a collaborator here, I'm happy to get a release version out (likely v2.4.7 or v2.5.0) that limits this gem to minitest <=5 for better bundler dependency management.

My handle on rubygems is the same as github (rmm5t).

Then, I can follow-up with cleaning up #164 and prepping for a v3.0.0 of guard-minitest that is limited to minitest >=5, <7.

/cc @rymai @thibaudgg @yannlugrin @e2 @genericsteele @chronomantic

@thibaudgg

Copy link
Copy Markdown
Member

Looks good to me, I'm also up for adding @rmm5t as collaborator on this repo and on rubygems. @rymai does that sound good to you?

@rymai

rymai commented Jan 19, 2026

Copy link
Copy Markdown
Member

Sounds good to me, thanks @rmm5t! ❤️

@rmm5t

rmm5t commented Jan 19, 2026 •

Copy link
Copy Markdown
Member Author

Thanks @thibaudgg & @rymai!

I just pushed a few logistics commits to master in prep for a v2.5.0 release.

However, could I also please get access to rubygems?

You do not have permission to push to this gem. 
Ask an owner to add you with: gem owner guard-minitest --add rmm5t

/cc @yannlugrin @e2 @genericsteele @chronomantic

@thibaudgg

Copy link
Copy Markdown
Member

@rymai do you have the permission access to add @rmm5t on rubygems? I'm not the author of that one.

@rymai

rymai commented Jan 20, 2026

Copy link
Copy Markdown
Member

@rymai do you have the permission access to add @rmm5t on rubygems? I'm not the author of that one.

I added you @rmm5t! 🙏

rmm5t added 2 commits January 20, 2026 17:25
Removes support for minintest v3 and v4 and requires ruby >= 3.2
@rmm5t
rmm5t merged commit 64f218b into guard:master Jan 21, 2026
8 checks passed
@rmm5t
rmm5t deleted the minitest6 branch January 21, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants