Chapter 8
Succeeding with Scenario Data
Scenarios need data—that’s what makes them concrete examples rather than abstract specifications.
Chapter 6, “Making Scenarios More Expressive,” covered getting the right detail—the right data—in a particular scenario. But as your suite of Cucumber features grows, it’s no longer just about getting the right detail in each scenario. To preserve maintainability, speed, and expressiveness across the suite, you must pay attention to your larger approach to data.
In this chapter, we look at principles and strategies for handling data as your Cucumber suite grows.
Get Behavior-Driven Development with Cucumber: Better Collaboration for Better Software now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.