I’ve got a new version of Everyday Rails Testing with RSpec ready for download from Leanpub. I originally wasn’t planning to do any further updates to this version, but changes in the Devise and Geocoder gems broke sample tests. I’ve fixed those issues, along with some others that have been reported by readers.
As an added bonus, I’ve added an appendix to guide the transition to system specs. It’s based on a post I shared here earlier this year, but updated slightly for RSpec 3.8. System specs were added to RSpec within days of my last major release, and an overhaul of chapter 6 is out-of-scope for this release. But hopefully this new appendix will help you learn more about the new, recommended approach to testing your apps’ browser integration.
Finally, I have a favor to ask. I’ve been offering free updates to this book since its original release more than six years ago. If you’ve found it useful, please recommend it to your friends and colleagues. Your tweets, toots, and shares are much appreciated.
Thanks as always for your support!
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.