Let’s cut to the chase.
I’m excited to announce that I’ve started work on the first major update to Everyday Rails Testing with RSpec in nearly seven years!
So much has changed in the world since 2017, but two things remain steady: I still love writing software with Ruby on Rails, RSpec is still my test framework of choice, and test-driven software design leads to quality, sustainable code.
That said, nothing is ever really constant in software. Even though I still believe in the concepts presented in my book, newer versions of Rails have made it impossible to even install the sample code from the book. And, I mean, in the era of generative AI that can just write all of our tests (and code) for us, does test-driven development still matter?
You bet it does. Tests are our closest, most repeatable interfaces to the code our clients, customers, and coworkers rely on daily. Well-written tests lead to well-written code, and vice versa. We humans still matter in software development! The fundamentals are still the fundamentals, but advancements in the developer experience have made it easier to practice those fundamentals without the overhead we dealt with in the past. In other words, it’s never been a better time to learn test-driven development in Rails. And if you’ve been practicing TDD for awhile, there may be a new trick or two to learn. I know I’ve picked up some new ideas since the last edition.
In that spirit, that’s what I’m working on for the new version of Everyday Rails Testing with RSpec. Rails 7.1? Check. Ruby 3.3? You know it. Built-in Rails support for file uploads and background jobs? No question. But also, I’ll share my opinions on the right way to keep tests well-factored and maintainable. And, of course, how to use generative coding tools as a resource, and not at adversary.
That’s a lot of work. Here’s how it’ll break down. Short version, I’m hoping to have content in your hands by RailsConf in May!
Some details:
I’m looking forward to this project, and hope you’ll join me for the ride. Thanks as always for your support!
Ruby on Rails news and tips, and other ideas and surprises from Aaron at Everyday Rails. Delivered to your inbox on no particular set schedule.