Code Coverage Results

Hello,

I'm trying to get code coverage results from the unit tests executed in my team build. My build report states no coverage results available, and I can't figure out how to enable coverage instrumentation.

Locally, I do this through my .testrunconfig file however in looking at the build log I don't see that a .testrunconfig is being used. A test list is used from the .vsmdi, but I don't see any way to enable coverage through that construct. Finally, I don't see any properties around the CoreTest target that can be set to enable code coverage.

What am I missing?

[589 byte] By [Surly] at [2008-2-7]
# 1

Surly,

Is the testrunconfig file the default config file. Have you checked the assemblies that will be instrumented and code coveraged?

Can you post the build log file? There should be no additional steps that are required to enable code coverage through team build.

Thanks,

Amit

AmitChattopadhyay at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...
# 2
Amit,

Drew Marsh answered my question with his post about specifying a .testrunconfig file. I am using <RunConfigFile> property to specify a non-default config file.

Thanks!

Surly at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...

Visual Studio Team System

Site Classified