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
Table of contents
- Cover Page
- About This eBook
- Halftitle Page
- Title Page
- Copyright Page
- 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
- The Test Automation Stack
- Adjusting to Working Test-First
- Annotating Element Names in Mockups
- How Does User Experience Design Fit In to This?
- Did They Really Just Hard Code Those Results?
- Anatomy of a Step Definition
- Simple Cucumber Expressions
- Regular Expressions
- Custom Cucumber Expressions Parameter Types
- Beyond Ruby
- Slow Is Normal (at First)
- Choose Cucumber Based on Audience, Not Scope
- Summary
-
Chapter 5: Frequent Delivery and Visibility
- How BDD Changes the Tester’s Role
- Exploratory Testing
- BDD and Automated Builds
- Faster Stakeholder Feedback
- How Getting to Done More Often Changes All Sorts of Things
- Frequent Visibility and Legacy Systems
- Documentation: Integrated and Living
- Avoiding Mini-Waterfalls and Making the Change Stick
- Summary
- References
- Chapter 6: Making Scenarios More Expressive
- Chapter 7: Growing Living Documentation
- Chapter 8: Succeeding with Scenario Data
- Chapter 9: Conclusion
- Index
- Code Snippets
Product information
- Title: Behavior-Driven Development with Cucumber: Better Collaboration for Better Software
- Author(s):
- Release date: June 2019
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780132748544
You might also like
video
Cucumber BDD Made Easy + Automation Framework Design
In this course, you are going to understand Cucumber concepts using JUnit and Selenium. Before we …
audiobook
Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Modern Software Engineering: Doing What Works to Build Better Software Faster
Improve Your Creativity, Effectiveness, and Ultimately, Your Code In Modern Software Engineering, continuous delivery pioneer David …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn’t clean, it can bring a development organization …