2

現在、Nunit と Opencover で Sonarqube 4.5.7 (SonarQube Scanner for MSBuild 2.1) を使用しています。テストの実行は成功し、指標はダッシュボードに正しく報告されます。しかし、Sonar ダッシュボードのカバレッジ セクションは空白で、カバレッジ xml にはアプリケーション モジュールの "Module skippedDueTo="MissingPdb"" と表示されます

以下は、Jenkinsで使用した構成です

"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe" sample\app.sln /t:Rebuild /p:Configuration=Debug
"C:\Program Files (x86)\OpenCover\OpenCover.Console.exe" -register:user -targetdir:"…\sample\app.Tests\app.Correction\bin\Debug" -target:"C:\Program Files (x86)\NUnit 2.6.4\bin\nunit-console.exe" -targetargs:" …\sample\app.Tests\app.Correction\bin\Debug \app.dll /nologo /noshadow" -output:coverage.report.xml
4

1 に答える 1