C# 无法在SonarQube中查看代码覆盖率
我无法收集SonarQube覆盖范围值。有人能告诉我我在哪里遗漏了什么吗。我可以看到***.Tests.dll文件可用 Windows批处理命令 声纳QUBE扫描仪开始分析 声纳qube代码覆盖屏幕C# 无法在SonarQube中查看代码覆盖率,c#,jenkins,sonarqube,C#,Jenkins,Sonarqube,我无法收集SonarQube覆盖范围值。有人能告诉我我在哪里遗漏了什么吗。我可以看到***.Tests.dll文件可用 Windows批处理命令 声纳QUBE扫描仪开始分析 声纳qube代码覆盖屏幕 尝试在MSBuild命令之后但在结束分析之前执行OpenCover命令,如下所述: 尝试在MSBuild命令之后但在结束分析之前执行OpenCover命令,如下所述: WorldVentures.Fortius.Search.Tests.dll在OpenCover运行时,从OpenCover输
尝试在MSBuild命令之后但在结束分析之前执行OpenCover命令,如下所述:
尝试在MSBuild命令之后但在结束分析之前执行OpenCover命令,如下所述:
WorldVentures.Fortius.Search.Tests.dll在OpenCover运行时,从OpenCover输出判断似乎不存在。在Jenkins作业中,OpenCover批处理脚本在MSBuild步骤之前运行。如果单元测试是由该MSBuild步骤生成的,则需要在OpenCover批处理脚本步骤之前执行。WorldVentures.Fortius.Search.tests.dll在OpenCover运行时,从OpenCover输出判断似乎不存在。在Jenkins作业中,OpenCover批处理脚本在MSBuild步骤之前运行。如果单元测试是由该MSBuild步骤生成的,则需要在OpenCover批处理脚本步骤之前执行
Test Files
C:\AirSearchBnd\src\Fortius.Air.Search.Tests\bin\Debug\WorldVentures.Fortius.Search.Tests.dll
Errors and Failures
1) Invalid : C:\AirSearchBnd\src\Fortius.Air.Search.Tests\bin\Debug\WorldVentures.Fortius.Search.Tests.dll
File not found: C:\AirSearchBnd\src\Fortius.Air.Search.Tests\bin\Debug\WorldVentures.Fortius.Search.Tests.dll
Test Run Summary
Overall result: Failed
Test Count: 0, Passed: 0, Failed: 0, Inconclusive: 0, Skipped: 0
Start time: 2017-01-27 03:35:50Z
End time: 2017-01-27 03:35:50Z
Duration: 0.025 seconds
Results (nunit3) saved as TestResult.xml
Committing...
No results, this could be for a number of reasons. The most common reasons are:
1) missing PDBs for the assemblies that match the filter please review the
output file and refer to the Usage guide (Usage.rtf) about filters.
2) the profiler may not be registered correctly, please refer to the Usage
guide and the -register switch.
C:\AirSearchBnd>exit 0