|   |      1 
                                  7
                             VSTS扩展应该自动导入覆盖率结果,但目前有一个回归很快就会得到修复(希望如此): SONARMSBRU-339 
   同时,在
   
    VSTS extension documentation in "Analysing a .NET solution"
   
   :在中
     | 
|   |      2 
                                  3
                             即使设置了“sonar”,我也无法看到“coveragexml”文件。verbose=true','系统。调试=真'。尽管如此,我还是找到了另一种很好的方法,即转换' .覆盖范围“文件到” .PowerShell脚本的Coverage XML: 要使其正常工作,请确保为市场安装了“内联PowerShell”任务,并将其放在构建管道中的“运行代码分析”步骤之前。 | 
|   |      3 
                                  1
                             对于使用自托管代理的用户,还可以安装 Visual Studio Test Agent 2019 . 它包含一个CodeCoverage。exe文件SonarQubeAnalyze@4Azure DevOps任务将找到。SonarQube将能够转换。覆盖率文件。Coverage XML,根据这个 SonarQube documentation webpage . Visual Studio测试代理似乎是免费的。无需支付Visual Studio Enterprise的费用。 | 
|   | Natty · Visual Studio中缺少“代码覆盖率结果” 1 年前 | 
|  | codeSeeker · 如何聚合单元测试和集成测试覆盖率结果 2 年前 | 
|  | Alban · jacoco分支覆盖和声纳条件覆盖之间有什么区别? 7 年前 | 
|   | Brendan Prin · Cobertura无法仪表 7 年前 | 
|   | Chuck Claunch · Gitlab测试覆盖率分析失败 7 年前 | 
|   | technicaltim · 为什么代码覆盖率报告说我的库没有被覆盖? 7 年前 |