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

General Principles

This may be the most obvious piece of advice in the book:

Prescription 40When a formerly passing test fails, something has changed.

Obvious or not, it’s worth repeating, mantralike, when confronted with a bad bug. When a formerly passing test fails, it means something changed.

It may be in the code, the system, or the test. But it’s probably not sunspots, and it’s probably not evil spirits possessing your MacBook (unless you’re living in one of Charles Stross’s Laundry novels).

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