# Friday, February 27, 2015

TFS update 4 (and possibly previous updates)  run code coverage works one way and not the other.image

I’ve got a couple of unit tests setup and I want TFS build code coverage .

I turned on code coverage as below and got no results with the TFS build.

image

The following way using the Add/Edit dialog from the ellipsis (…) as below does work.

So editing the build definition in this specific way. Process -> 1.Automated tests –> 1.Test source. Then using the ellipsis (…) pop up the Add/Edit dialog and then under Options dropdown change it from None to Enable Code Coverage. image

Now I get code coverage results. I don't know smile

image

And now I can see code coverage in the reports. Smile

image



.
Tags: Code Coverage | Reports | TFS | TFS Issues

Friday, February 27, 2015 3:07:11 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]