branch coverage support
skcc321 opened this issue · 9 comments
I see no support for branch coverage in the readme. But I would like to start the process of implementation of that one somehow.
according to cobertura documentation - branch coverage is supported.
https://www.baeldung.com/cobertura#2-configuring-code-coverage-calculation-and-checks
simplecov supports branch coverage as well
https://github.com/simplecov-ruby/simplecov#branch-coverage-ruby--25
let's implement that one finally :)
Great find. Is that something you'd want to take up?
probably. but not sure how soon...
Can anyone provide guidance on how to implement branch coverage, please?
I think this might be an example https://github.com/leobalter/testing-examples/blob/master/solutions/3/report/cobertura-coverage.xml how it should look like.
Istanbul reports branches like this:
<line number="38" hits="59" branch="true" condition-coverage="100% (2/2)"/>
Has anyone picked this up yet? I might have a go otherwise.
As far as I am aware, no one has picked this up
nobody....
Thank you for the work on this and I'm sorry for the delay. This is merged in and will be released as part of 2.0.0