17. Integrating TFP Code with a User Interface

THE PREVIOUS THREE chapters described the way in which test-first programming (TFP) allows you to implement most of the “Image Favorites” story in a class library called Favorites. In this chapter, we suggest how you might finish this story by integrating this class library with a suitable user interface to provide a complete Windows Forms application. We also review how TFP makes design something that you do all the time instead of a specific phase you do at the start of a project.

Implementing the User Interface

At the beginning of Chapter 14, we divided the “Image Favorites” story into two programming episodes. The subsequent exercises guided you through the first of these episodes: implementing ...

Get Visual Studio Team System: Better Software Development for Agile Teams 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.