I'm having some issues trying to merge multiple coverage reports from the dotCover CLI console runner. I have set-up the console runner as instructed here (https://www.jetbrains.com/help/dotcover/Running_Coverage_Analysis_from_the_Command_LIne.html#using-dotnet-exe-to-run-coverage-analysis-of-unit-tests) so that the console runner can run as part of a build pipeline within Linux containers. The software being built spans multiple projects and I have been able to successfully create unit test code coverage reports for each of my projects.
My issue starts when attempting to merge these multiple reports into one report. I cannot seem to get the 'merge' command to work when using the console runner. I have tried the following commands:
dotnet dotcover merge --dcSource="path-to-source-files-semicolon-separated" --dcOutput="name-of-output"
This results in the message "Not used command line parameter: 'Source'" followed by the message "Could not execute because the specified command or file was not found". The above was also tried without quotes around the file paths and output name and yielded the same result
I've looked at the commands inside of dotnet dotcover help which shows nothing in the way of a merge command, even though the documentation above states that the console runner does have the command available.
What is the correct syntax to use for the merge command in the console runner to merge multiple coverage reports? Thanks in advance for any help.
Console runner version: 2019.3.1