A fresh update to the 2024 edition of Everyday Rails Testing with RSpec is now available! This update continues the book’s exploration of request specs. It also introduces abstracting away test data implementation details with factory_bot, and debugging tests with binding.irb.
If you ever purchased a copy through Leanpub, you can download this one for free, along with all future updates.
Thanks as always for your support! See you again soon with another batch of updates.
Join me on a thought experiment: How does my time-tested approach to testing Ruby on Rails applications apply to the tools we get from the framework? Whether you're new to Rails testing, or curious about the default testing stack, Testing Rails from Scratch gives you a pragmatic, end-to-end introduction to test-driven development. Covers Rails 8.1 and Ruby 4.0. Early release now available for sale on Leanpub!
Software development news and tips, and other ideas and surprises from Aaron at Left of the Dev. Delivered to your inbox on no particular set schedule.