Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Such functionality would indeed be desirable, and I have plans for that in the back of my head.
My plan is that the output selection flags like
$ gcovr --html -o coverage.html && gcovr --xml -o coverage.xml $ gcovr --html=coverage.html --xml -o coverage.xml $ gcovr --html=coverage.html --xml=coverage.xml
This will make it possible to run all output formats at the same time. Unfortunately, this may be a backwards-incompatible change: in
I can't work on this right away. My current focus is on cleaning up the HTML output format. But separating output generators is the next step so that it becomes easier to add new generators.
If you or anyone else would like to work on this that would be very welcome, and would get this feature out much faster!