How to enable code coverage in my Team Build

Problem:

I am not getting code coverage results in my build.

Solution:

Ensure you have a test settings file selected in your build definition.

Explanation:

On the process tab of your build definition expand the Automated Testing section under Basic and make sure the TestSettings File is pointing to the test settings file that has code coverage configured.

You can watch a video below that demonstrates how to do this.

Comments are closed