功能描述 here
You can now see code coverage metrics for changes within the pull request (PR) view. This ensures that you have adequately tested your changes through automated tests. Coverage status will appear as a comment in the PR overview. You can view details of coverage information for every code line that is changed in the file diff view.
但是要配置它需要
azurepipelines-coverage.yml
在 repo 的根目录,但是我在任何地方都找不到模式。有人知道吗?无法配置它,默认代码覆盖百分比设置为 70%,我似乎无法禁用它。
我用谷歌搜索过,搜索过博客文章,搜索过微软文档和 Github。
最佳答案
coverage:
status:
diff:
target: 40%
关于azure-devops - azurepipelines-coverage.yml 的架构,用于为 PR 配置新发布的代码覆盖率指标功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57211986/