Chapter 13. Simplification by Separation
“Life is like an onion: You peel it off one layer at a time, and sometimes you weep.”
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 ...