Closed FaresKi closed 1 year ago
Could you please try again with the following command:
reportgenerator "-reports:TestResults/*/coverage.cobertura.xml" "-targetdir:coveragereport" -reporttypes:Html
I made the following changes:
-
instead of --
{guid}
with *
\
with /
"
Could you please send me the link of the Microsoft C# documentation you were using? I would like to verify it.
Hi Daniel! This is the documentation, but it seems that I misread and thought I saw 2 dashes instead of 1.
Thanks again for your answer!
Describe the bug I'm following the Microsoft C# documentation on code coverage and while I manage to generate the cobertura reports, I can't seem to get the reportgenerator CLI working.
To Reproduce The following input helps to reproduce your issue: Console output of ReportGenerator:
I've tried replacing the {guid} pattern by ** and same result. I've tried using using forward slashes too since I'm using MacOS, same result also.
Am I missing something? TIA!