Cobertura output

Jan 18 at 11:00 AM
Hello and thank you for an extremely practical tool!

We are using OpenCppCoverage to cover GTest executables in a Visual Studio Team Services environment which supports showing Cobertura reports integrated into the web interface. We would like to use the Cobertura xml file generated by OpenCppCoverage for this purpose, but VSTS only accepts files conforming to the schema at http://cobertura.sourceforge.net/xml/coverage-04.dtd.

Do you have any plans on updating the Cobertura export feature to this schema? Or perhaps you could give me some pointers on how to make this change myself.

Thank you again.
Coordinator
Jan 23 at 11:42 AM
Hello,

Thank you for your support.
I am working on the next release OpenCppCoverage 0.9.6 which I hope should be available in February.
If this improvement does not require too much work, I will try to include it in this release.

Perhaps, you can also parse the Cobertura output file and add missing fields, if you do not want to wait.

I hope this will help,

OpenCppCoverage
Jan 24 at 6:11 AM
Thank you very much for your answer.
Coordinator
Feb 26 at 12:35 PM
Hello,

OpenCppCoverage 0.9.6 generates valid Cobertura files against http://cobertura.sourceforge.net/xml/coverage-04.dtd.

Let me know if you have any issues.

OpenCppCoverage