Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Codecoverage.exe does not generate output xml

In order to import a coverage file to SonarQube, I'm executing CodeCoverage.exe to convert a ".coverage" file to xml. I execute a cmd line like: CodeCoverage.exe analyze /output:[name of xml file to be generated] [name of the coverage binary file].coverage but I do not get any output xml and no errors. I must say that I was able to generate such xml for tests of other solution files. What can be the problem? How can I troubleshoot it?

Thanks!

like image 407
Arieltk Avatar asked Sep 05 '26 13:09

Arieltk


1 Answers

I would start with making sure you're naming the new file with the extension *.coveragexml

CodeCoverage.exe analyze /output:[name of xml file to be generated].coveragexml [name of the coverage binary file].coverage

like image 93
Dan M. Avatar answered Sep 08 '26 09:09

Dan M.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!