Writing effective tests is a necessary part of Ruby development. A good test suite guides you towards maintainable code. It allows you to make major changes to your application and be confident that everything still works.
We think everyone should know how to write a successful test suite, and it can be hard to get started, especially for beginners who need to learn both theory and practice. We’ve set out to solve that problem, and today we’re announcing the pre-release of our new book, Testing Rails.
Testing Rails is a comprehensive book, covering the intricacies of testing Rails applications from the very basics to the things that trip up even experienced developers.
You can see all of our books here: books.thoughtbot.com