O'Reilly logo

Rails 4 Test Prescriptions by Noel Rappin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 tools Capybara ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required