BDD in Action: Behavior-driven development for the whole software lifecycleКНИГИ » ПРОГРАММИНГ
Автор: John Ferguson Smart Название: BDD in Action: Behavior-driven development for the whole software lifecycle Издательство: Manning Publications Год: 2014 ISBN: 978-1617291654 Язык: English Формат: pdf Размер: 11,4 mb Страниц: 384
You can't write good software if you don't understand what it's supposed to do. Behavior-Driven Development (BDD) encourages teams to use conversation and concrete examples to build up a shared understanding of how an application should work and which features really matter. 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 practice.
BDD in Action teaches you BDD principles and practices and shows you how to integrate them into your existing development process, no matter what language you use. First, you'll apply BDD to requirements analysis so you can focus your development efforts on underlying business goals. Then, you'll discover how to automate acceptance criteria and use tests to guide and report on the development process. Along the way, you'll apply BDD principles at the coding level to write more maintainable and better documented code.
PART 1 FIRST STEPS 1 1 Building software that makes a difference 3 2 BDD—the whirlwind tour 32
PART 2 WHAT DO I WANT? DEFINING REQUIREMENTS USING BDD 59 3 Understanding the business goals: Feature Injection and related techniques 61 4 Defining and illustrating features 87 5 From examples to executable specifications 114 6 Automating the scenarios 140
PART 3 HOW DO I BUILD IT? CODING THE BDD WAY 179 7 From executable specifications to rock-solid automated acceptance tests 181 8 Automating acceptance criteria for the UI layer 201 9 Automating acceptance criteria for non-UI requirements 236 10 BDD and unit testing 260
PART 4 TAKING BDD FURTHER 299 11 Living Documentation: reporting and project management 301 12 BDD in the build process 321