16. Code Coverage and Performance

THIS CHAPTER EXPLORES some activities related to test-first programming (TFP) by finishing the programming episode we started in Chapter 14 with some exercises that reveal the adequacy of your unit testing as well as the presence of any unexpected performance bottlenecks. After finishing this chapter, you should be able to use the Visual Studio tools to identify any parts of your code that are not exercised by unit tests and understand how to improve the code’s performance using the Dynamic Code Analyzer.

Code Coverage

The exercises in Chapters 14 and 15 showed you how to implement part of a story called “Image Favorites” using the Test-First Programming practice. This involved creating an initial list of tests ...

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.