Chapter 13. Simplification by Separation

“Life is like an onion: You peel it off one layer at a time, and sometimes you weep.”

Carl Sandburg

The triad discusses a new story from their sponsor, Sam, to let people reserve CDs online. The story illustrates how separation of issues allows the creation of simpler tests.

Complex Business Rules

Cathy starts off, “Sam has an idea for a website. The website connects back to the charter, because we want to give our customers the ability to reserve a CD. Sam has come up with two ideas. He wants to allow customers to reserve CDs on the web, and he wants them to be able to search CDs. We haven’t worked out the details on the second story. But Sam has already decided on the first.”

“He has worked out ...

Get Lean-Agile Acceptance Test-Driven Development: Better Software Through Collaboration 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.