Forum Discussion

yluo24's avatar
11 years ago

Get empty codecoverage result by using VS .testsettings when integrate testcomplete with Visual Studio 2012

Dear experts,

I am trying to calculate code coverage for my testcomplete project which is alreay integrated in VS2012 with our build. The production code unit tests are using .testsettings file as test setting file to get code covereage result. But for test complete project, the result is empty.

However, after I change to use .runsettings file as test settings for testcomplete project, it will get the correct code coverage result.



The problem is .runsettings setting file doesn't support the remote execution, it can't apply for our TFS build-Deploy-Test process.



Does anyone has the experience that using .testsettings for calculate testcomplete integrated VS project code coverage? 



Both the test setting files I use are just the default template that MSDN described. Not including any customize changes.



Appriciate your help!
No RepliesBe the first to reply