simplecov-ruby/simplecov

Branch coverage for the files which don't have _spec files

visu-suganya opened this issue · 0 comments

Hi Team,

Im working on getting branch coverage for my project and its working fine using simplecov. Thank you.
I am using line and branch coverage.

Actually Line covered/not covered shows for all the files(including files which don't have _spec files )

My problem here is:
image
Uncovered conditions shows - even-though there are conditions in the mentioned file.
So in this case, Im having line coverage % < branch coverage in overall.

generated .resultset.json don't have data for branches for the .rb files which don't have corresponding _spec files.
Do I need to add any setting to fix this?

Thanks!