Sample source for the 2017 edition of Everyday Rails Testing with RSpec.
Everyday Rails Testing with RSpec is a resource crafted for developers eager to enhance their skills in test-driven development (TDD) using Ruby on Rails. The sample application provided here serves as a practical guide, illustrating how to incrementally test an existing Rails application. From starting with an entirely untested codebase to implementing thorough tests for models, controllers, features, and requests, this guide is an invaluable tool for mastering the art of coding with confidence.
The 2017 edition of the book by Aaron Sumner has been updated to reflect best practices in the Rails ecosystem, particularly focusing on version 5.1. This comprehensive approach ensures that readers not only understand theory but also see it in action through the corresponding sample application, making it easier to grasp concepts in a real-world scenario.