简体   繁体   English

TFS 2012构建器代码覆盖率

[英]TFS 2012 builder code coverage

I'm trying to set up code coverage in TFS 2012. My solutions builds, My test are run, but I get No code coverage results. 我正在尝试在TFS 2012中设置代码覆盖率。我的解决方案已构建,我的测试正在运行,但没有得到代码覆盖率结果。 I get the follwing error "Code coverage is enabled for the test run. Install Visual Studio on the following build machine to get code coverage results: XXX" I have installed Visual Studio 2012 Professional on the build server, but still have the same problem. 我收到以下错误“为测试运行启用了代码覆盖率。在以下构建计算机上安装Visual Studio以获取代码覆盖率结果:XXX”我已在构建服务器上安装了Visual Studio 2012 Professional,但仍然存在相同的问题。

Has anyone got any idea of how I can get it working. 有谁知道我如何使它工作。 Do I need a different versionof Visual Studio installing? 我需要安装其他版本的Visual Studio吗?

Cheers in advance 提前加油

You do need a different version of Visual Studio. 您确实需要其他版本的Visual Studio。

Code coverage is only available in Visual Studio Premium and Ultimate (in Visual Studio versions 2010 and 2012). 代码覆盖率仅在Visual Studio Premium和Ultimate中可用(在Visual Studio 2010和2012版中)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM