Summary

In this chapter, we started with a customer test and wrote programmer tests to drive the implementation. This eliminated the need for checking with the customer to determine the correctness of the application. After the test passed, we were finished. The scope of the customer/programmer tests, as demonstrated in the chapter, is very different. The customer test verifies that the system works as the customer expects (this working system includes the database and the Web service infrastructure). On the other hand, the programmer tests try to isolate themselves as much as possible and focus on what the application does independently of the infrastructure.

In the next chapter, we finally solve a problem that has plagued us over the last two ...

Get Test-Driven Development in Microsoft® .NET 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.