A lot has changed in the Rails testing world over the past five years, even if the general principles have stayed more or less the same. The entire community, including me, has had five more years of experience with these tools, building bigger and better applications, learning what tools work, what tools scale, and what tools don’t.
This book has been nearly entirely rewritten from its first edition to reflect these changes.
Here’s an overview:
The primary test tool for all examples is now RSpec.
All tools have been upgraded to their latest versions: Ruby 2.1.2, Rails 4.1.x, Minitest 5.3.x, RSpec 3.1, and so on.
The opening tutorial was completely rewritten. It’s an all-new example that provides, I hope, a more ...