Chapter 7. Warts and All

Sometimes the bear bites you. Today it bit Ron and Chet. But we learned some lessons, and we’ll share them with you.

Enhancing the Customer Tests

In the preceding chapter, we got our first Customer Acceptance Test working, and it was clear that our customer could do more tests. So we did a couple more and sure enough they all ran. But we knew there was something we couldn’t test, so we came up with this test as an example:

*input
<P>This is the first p|aragraph.</P>
<P>This is the second paragraph.</P>
*end
*enter
*output
<P>This is the first paragraph.</P>
<P>|</P>
<P>This is the second paragraph.</P>

The tricky bit is in the first line: <P>This is the first p|aragraph.</P>. See that vertical bar? The customer wants to write ...

Get Extreme Programming Adventures in C# 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.