Changes in the Second Edition
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 ...
Get Rails 4 Test Prescriptions now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.