You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 --xml will take a file name as argument, or fall back to -o/--output if no explicit value was provided. All of these should work the same:
This will make it possible to run all output formats at the same time. Unfortunately, this may be a backwards-incompatible change: in gcovr --xml foo, is foo the name of the XML output or the name of a directory with coverage? Similarly, how should gcovr -xv be parsed? I don't know if argparse can be configured to stick to the old interpretation, or whether this would be an acceptable incompatibility.
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!
Thank you for this very good summary.
I am unfortunatly unable to help currently...
Thus i will wait for a future enhancement :)
Thank you for all your job.
Today we need to run twice the gcovr to generate a xml and a html.
It would be great to generate both during a unique execution of gcovr.
"Gcovr prints a text report by default, but can switch to XML or HTML."
The text was updated successfully, but these errors were encountered: