1. Open the local.testsettings which you can access from Test -> Edit Test Settings -> Local (local.testsettings)

image

 

2. Select Data and Diagnostics from the list

image

3. Check the enabled checkbox on the Code Coverage row

4. Click on the Configure button or double click the Code Coverage row

5. Select the assemblies you want code coverage to be generated for

image

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.