I have c++/c application with a lots of unit tests. I would like to get overall coverage and also individual coverage of each test with condition that each test can be run o
I wrote python script which can merge cobertura reports together. It only merges line "hits" and is able to filter specific packages while merging.
Conditional(branch-rate) coverage and line coverage (line-rate) percentage values are not merged yet. Jenkins plugin recalculates these values so in this context it doesn't have to be implemented (but maybe it will).
Also conditional coverage can't seem to be put together easily, so it doesn't work when reports cooperate on final value (meaning one file has condition-coverage 50% (2/4)
and other also condition-coverage 50% (2/4)
other two branches. Result is set to be higher of these two numbers so it will be still 50% (2/4)