简体   繁体   English

是否包含Visual Studio Team Services(Visual Studio Online)包中的代码覆盖率

[英]Is code coverage included with Visual Studio Team Services (Visual Studio Online) packages

Is code coverage supported with Visual Studio Team Services by default, and can the team check the coverage result on their local visual studio instances? 默认情况下,Visual Studio Team Services是否支持代码覆盖率,团队是否可以检查其本地Visual Studio实例的覆盖率结果? (coloring the coverage). (着色覆盖范围)。

Yes, when you add "Visual Studio Test" step in your build definition, you can check the "Code Coverage Enabled" option: 是的,当您在构建定义中添加“Visual Studio Test”步骤时,可以选中“Code Coverage Enabled”选项: 在此输入图像描述

And then you can see the code coverage information in the build report: 然后,您可以在构建报告中查看代码覆盖率信息: 在此输入图像描述

You can also download the code coverage results file into your local machine but you need to use VS Enterprise edition to open it. 您也可以将代码覆盖率结果文件下载到本地计算机,但需要使用VS Enterprise版本打开它。

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

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