1

我的团队正在使用 Microsoft VSTS 作为 SLM 工具。我们将 Scala 用于我们的后端服务,代码覆盖工具是 scoverage。有没有办法可以在 VSTS 中查看 scala 服务的代码覆盖率?到目前为止,我看到只有 Cobertura 和 Jacoco 支持 VSTS 中的 CC。

4

1 回答 1

1

对于 VSTS 构建,代码覆盖率仅支持 Cobertura 和 JaCoCo 格式。

模式详情,可以参考任务Publish Code Coverage Results

因此,您需要将 fomat 转换为 Cobertura 或 JaCoCo。比如使用插件sbt-jacoco

于 2018-08-01T07:02:58.773 回答