BDD in Action, Second Edition 2nd Edition
by John Ferguson Smart (Author), Jan Molak (Author)
Publisher Finelybook 出版社：Manning; 2nd edition (May 2, 2023)
pages 页数：488 pages
Deliver software that does what it’s supposed to do! Behavior-Driven Development guides your software projects to success with collaboration, communication techniques, and concrete requirements you can turn into automated tests.
In BDD in Action, Second Edition you’ll learn how to:
Implement and improve BDD practices
Prioritize features from business goals
Facilitate an example mapping session
Write automated acceptance tests
Scale up your automated acceptance tests
Deliver accurate reporting and documentation
Around half of all software projects fail to deliver on requirements. Behavior-Driven Development (BDD) helps make sure that yours isn’t one of them. Behavior-Driven Development in Action, Second Edition teaches you how to ensure that everyone involved in a software project—from developers to non-technical stakeholders—are in agreement on goals and objectives. It lays out the communication skills, collaborative practices, and useful automation tools that will let you seamlessly succeed with BDD. Now in its second edition, this revised bestseller has been extensively updated with new techniques for incorporating BDD into large-scale and enterprise development practices such as Agile and DevOps.
Foreword by Daniel Terhorst-North.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Behavior-Driven Development is a collaborative software design technique that organizes examples of an application’s desired behavior into a concrete, testable specification. Because the BDD process gathers input from all areas of an organization, it maximizes the likelihood your software will satisfy both end users and business stakeholders. The established collaboration practices and automation strategies in this book will help you maximize the benefits of BDD for your dev team and your business clients.
About the Book
In BDD in Action, Second Edition, you’ll learn to seamlessly integrate BDD into your existing development process. This thoroughly revised new edition now shows how to integrate BDD with DevOps and large-scale Agile systems. Practical examples introduce cross-functional team communication skills, leading a successful requirements analysis, and how to set up automated acceptance criteria.
How BDD positively affects teamwork, dynamics, and collaboration with stakeholders
Help teams discover and analyze requirements, uncover assumptions, and reduce risks
Make acceptance, integration, and unit testing more effective
Automate reporting and living documentation to improve transparency
About the Reader
About the Author
John Ferguson Smart is the creator of the Serenity BDD framework and founder of the Serenity Dojo training school. Jan Molak is the author of the Serenity/JS testing framework, Jenkins Build Monitor, and other CD and testing tools.
Table of Contents
PART 1 - FIRST STEPS
1 Building software that makes a difference
2 Introducing Behavior-Driven Development
3 BDD: The whirlwind tour
PART 2 - WHAT DO I WANT? DEFINING REQUIREMENTS USING BDD
4 Speculate: From business goals to prioritized features
5 Describing and prioritizing features
6 Illustrating features with examples
7 From examples to executable specifications
PART 3 - HOW DO I BUILD IT? CODING THE BDD WAY
8 From executable specifications to automated acceptance tests
9 Writing solid automated acceptance tests
10 Automating acceptance criteria for the UI layer
11 Test automation design patterns for the UI layer
12 Scalable test automation with the Screenplay Pattern
13 BDD and executable specifications for microservices and APIs
14 Executable specifications for existing systems with Serenity/JS
15 Portable test automation with Serenity/JS
16 Living documentation and release evidence