O'Reilly logo

Extreme Programming Adventures in C# by Ron Jeffries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required