Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
visu-suganya opened this issue May 28, 2023 · 0 comments
Open

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

visu-suganya opened this issue May 28, 2023 · 0 comments

Comments

@visu-suganya
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant