Behavior-driven development starts with a simple idea: you can’t write good software if you don’t understand what it’s supposed to do. BDD is a development process that helps you design better code by writing tests that describe the behavior of an application and its underlying requirements. With an emerging body of best practices and sophisticated new tools that assist in requirement analysis and test automation, BDD has become a hot mainstream approach.
BDD in Action teaches you the behavior-driven development model and shows you how to integrate it into your existing development processes. You’ll learn to apply BDD to requirements analysis and discover how to automate acceptance criteria and use tests to guide and report on your projects. Along the way, you’ll apply BDD principles at the coding level to write more maintainable and better documented code.
No prior experience with BDD is required. Although the principles in this book apply to any language and toolset, the examples are based in Java and use readily-available BDD tools. Three chapters of this new MEAP are available now with more to follow soon.
You can also choose…