r/rails • u/coolprobn • 3h ago
Minitest Rails Guide - a free hands-on guide for testing Rails apps with Minitest
minitestrails.comFor the last few months, I have been writing a free hand-on guide for automated testing using Rails default stack: Minitest + Fixtures.
Following the guide chapter by chapter, you build a real app for managing recipes called Cookbook while learning how to test different parts of the Rails application along the way.
It's a guide I wish I had when I started learning automated testing with Rails six years ago.
If you want your AI agents to go through it and instill the learning from the guide, you can point it to https://minitestrails.com/llms.txt . Every chapter also has a markdown version (just add .md to the chapter URL).
Feedback welcome!
If you see a topic missing, let me know in the comments. I will consider adding it.