Behavior-Driven Development with Cucumber: Better Collaboration for Better Software
Authors: Richard Lawrence – Paul Rayner
ISBN-10: 0321772636
ISBN-13: 9780321772633
Edition 版本: 1
Released: 2019-07-01
Print Length 页数: 208 pages
Book Description
Master BDD to deliver higher-value software more quickly
To develop high-value products quickly,software development teams need better ways to collaborate. Agile methods like Scrum and Kanban are helpful,but they’re not enough. Teams need better ways to work inside each sprint or work item. Behavior-driven development (BDD) adds just enough structure for product experts,testers,and developers to collaborate more effectively.
Drawing on extensive experience helping teams adopt BDD,Richard Lawrence and Paul Rayner show how to explore changes in system behavior with examples through conversations,how to capture your examples in expressive language,and how to flow the results into effective automated testing with Cucumber. Where most BDD resources focus on test automation,this guide goes deep into how BDD changes team collaboration and what that collaboration looks like day to day. Concrete examples and practical advice will prepare you to succeed with BDD,whatever your context or role.
Learn how to collaborate better by using concrete examples of system behavior
Identify your project’s meaningful increment of value so you’re always working on something important
Begin experimenting with BDD slowly and at low risk
Move smoothly from informal examples to automated tests in Cucumber
Use BDD to deliver more frequently with greater visibility
Make Cucumber scenarios more expressive to ensure you’re building the right thing
Grow a Cucumber suite that acts as high-value living documentation
Sustainably work with complex scenario data
Get beyond the “mini-waterfalls” that often arise on Scrum teams
Contents
Acknowledgments
About the Authors
Chapter 1: Focusing on Value
Chapter 2: Exploring with Examples
Chapter 3: Formalizing Examples into Scenarios
Chapter 4: Automating Examples
Chapter 5: Frequent Delivery and Visibility
Chapter 6: Making Scenarios More Expressive
Chapter 7: Growing Living Documentation
Chapter 8: Succeeding with Scenario Data
Chapter 9: Conclusion
Index
Code Snippets