ObjectSharp Blogs

You are currently viewing

Dave Lloyd's 2 Cents

A .NET Developer's Perspective


Code Coverage in VS2010

VThis took me a few minutes to find. Perhaps I can save someone else those few minutes.

To turn on Code Coverage locally you need to edit what used to be the <Local>.TestRunConfig , which is now called the <Local>.TestSettings.

The section is not called Code Coverage anymore it’s under Data and Diagnostics. There are a bunch of  tools you can turn on from here including:

image

Select Code Coverage, and the configure button at the top will become enabled.

image

To select the DLL’s for code coverage click the Configure button. You will get this window, I think you know what to do from here.

image

Comments

    No Comments

Leave a Comment

(required) 
(optional)
(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS