Foreword

Behaviour-driven development has come a long way since I first started talking about it in 2003. At that time, I was simply trying to find better ways to explain the revelatory practice of TDD, usually to nervous, suspicious, or at the very least skeptical programmers. Why would you write tests ahead of any code? That didn’t make sense. And why were we writing tests anyway—don’t we have testers for that?

Very few things represent a genuine paradigm shift. Mostly the term is used by marketers to convince you to change your brand of toothpaste. According to the Free Online Dictionary, a paradigm[1] is “A set of assumptions, concepts, values, and practices that constitutes a way of viewing reality for the community that shares them.” ...

Get The Cucumber Book, 2nd Edition 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.