Hi there,
I had a quick question that I just wanted some confirmation on. For generating code coverage reports for our C++ projects we historically use OpenCppCoverage, which produces a reports in the generic SonarQube coverage format. With this we we able to supply multiple report paths using the sonar.coverageReportPaths
parameter. Recently we are looking at moving to Microsoft’s code coverage tool, however from our testing it appears that the sonar.cfamily.vscoveragexml.reportsPath
only supports a single report and raises an error if multiple comma-delimited paths are supplied. Is there any reason for this difference? It does seem a little strange especially as the documentation explicitly states that sonar.cs.vscoveragexml.reportsPaths
and sonar.vb.vscoveragexml.reportsPaths
do support multiple comma-delimited report paths - why the difference between handling of the reports between Visual C++ and .NET? Is this something that you will plan on supporting at a later date or is it necessary for us to merge all our C++ coverage reports into a single report (which is technically possible when running the codecoverage.exe analyze
command, though means re-engineering our pipelines)
FYI are we running SonarQube 8.9.1 LTS on-prem.
Thanks is advance,
Sam