O'Reilly logo

Rails™ AntiPatterns: Best Practice Ruby on Rails™ Refactoring by Chad Pytel, Tammer Saleh

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

Chapter 7. Testing

One of the strengths of the Ruby on Rails platform is that it gives you a solid testing infrastructure as part of your base project. Because of this, and because of the agile nature of most Ruby on Rails development shops, the community has rallied behind test-driven development (TDD) and behavior-driven development (BDD) with a passion unheard of in other programming circles.

TDD and BDD didn’t actually begin with the Rails culture; they were around long before Ruby on Rails emerged. TDD and BDD arguably started with Kent Beck’s publication “Simple Smalltalk Testing: With Patterns,” and in general they have their roots in the test-first philosophy espoused by the Extreme Programming movement.

Ruby on Rails projects come ...

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