DEV Community

Cover image for minitest-expert: The Rails testing skill for AI agents
Prabin Poudel
Prabin Poudel

Posted on

minitest-expert: The Rails testing skill for AI agents

Over the past few months, I have been working on a free hands-on guide to testing Rails applications with Minitest https://minitestrails.com.

But as I have been building with AI coding agents, one thing has become increasingly clear:

Getting AI to write tests is easy but getting it to write tests worth keeping is a different story. You can end up with hundreds of green tests that don't actually protect your application.

That's why I built minitest-expert.

It's a Rails testing skill that helps your AI coding agent write tests you would actually merge. It ships with two playbooks:

  • Scout: Understand your app, identify what needs testing, and create a prioritized testing plan.
  • YOLO: Write the tests and verify that each one actually fails when the behavior it covers is broken.

The goal isn't 100% coverage or more tests but to add tests that catch bugs and protect real application behavior.

minitest-expert works with Claude Code, Cursor or any other AI coding agent that supports Agent Skills.

Get Minitest Expert

It's available now for $19 during launch week, after which the price goes up to $29.

👉 https://coolprobn.gumroad.com/l/minitest-expert

I have put a lot of work into this and I am excited to see how it helps Rails developers work with AI-generated tests.

If you are using AI to build Rails applications, I would love for you to check it out!

Top comments (0)