Coming Up Next

The next two chapters of this book will walk through a tutorial creating tests for a new Rails application. In Chapter 2, ​Test-Driven Development Basics​, we’ll start testing without using Rails-specific features. Then in Chapter 3, ​Test-Driven Rails​, we’ll start to test Rails functionality. Then we’ll talk a bit about what makes testing and tests most valuable.

After that we’ll spend a few chapters going through the basic blocks of a Rails program, testing models, then controllers and views. We’ll also talk about test doubles, which help prevent slow or dangerous code from being called during test runs.

Then we’ll talk about alternative tools, spending a chapter on Minitest and a chapter on the integration-test ...

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.