testing - 如何在 TFS 2015 中自定义代码覆盖率摘要

标签 testing tfsbuild tfs-2015

我们正在使用 TFS 2015 vNext Build 来管理我们的 CI 构建。

在 Visual Studio 测试任务中启用测试覆盖率非常容易。

但在构建摘要中,它只给出了整体 block 超额百分比。

对于每个程序集,摘要仅指示覆盖的 block 和行。

例如: enter image description here

当程序集数量巨大时,下载并打开.coverage 文件 以获取每个程序集的详细 block 覆盖百分比非常耗时。

有什么方法可以配置摘要以显示每个程序集的 block 覆盖百分比?

最佳答案

目前不支持这些自定义。您无法编辑 vNext 构建结果摘要中的显示。

You can submit a feature request to User Voice site at: https://visualstudio.uservoice.com/forums/330519-team-services The TFS Administrator and PM will kindly review the suggestion.

关于testing - 如何在 TFS 2015 中自定义代码覆盖率摘要,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36281866/

相关文章:

unit-testing - Zend 框架 : How to start PHPUnit testing Forms?

visual-studio-2015 - tfIgnore 在 Visual Studio 2015 中对我不起作用

tfs-2015 - TFS 2015 更新 1 : How to publish test results (trx) and fail the build on testfailures

testing - 如何将测试用例从 excel 表导入到 TFS(team foundation server)

java - 如何知道邮件是否真的发送?

python - Protractor 的预期条件

c# - TFS/MSTest 管理员权限

sql - 在 TFS 2008 和 Visual Studio 2008 中使用 Team Build 时,自动为增量、夜间构建生成增量 SQL 脚本?

git - Team Foundation Server 2013 触发器构建 pull 请求

msbuild - 我在哪里可以获得项目文件中所有可用属性的列表?