Concrete data gives an example the specific details needed to show a business rule. Include details that affect the behavior being illustrated, not every fact about the situation. For a pizza delivery-address change, the pizza type and payment status are unnecessary if they do not affect the address change. section 3.2
To keep examples clear:
- Start with actual data when it helps reveal assumptions or edge cases. Then ask whether changing it would change the behavior; if not, use a more general description. section 7.6
- Ask for concrete examples when discussion gets abstract, and challenge the details with positive and negative cases or other possible outcomes. section 2.6.6
Listing 7.6 Fifth edit – remove inessential real data
Scenario: Unauthenticated customer chooses to pay on collection Giventhe customer has 1 item in their basketGiven the customer's basket is not empty And they have chosen to collect their order When they proceed to payment instructions Then they should be able to choose to pay on collection
This checkout scenario shows how an item count and a nonempty-basket statement can be redundant when the payment step already implies the basket is not empty. section 7.6
