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 ...
Get Rails™ AntiPatterns: Best Practice Ruby on Rails™ Refactoring 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.