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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.