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

Simplecov branching support? #462

Open
gondalez opened this issue Feb 17, 2021 · 3 comments
Open

Simplecov branching support? #462

gondalez opened this issue Feb 17, 2021 · 3 comments
Assignees

Comments

@gondalez
Copy link

gondalez commented Feb 17, 2021

After following #413 I managed to get simplecov 0.21.2 going for my project (thank you all involved 🙏 )

I have a related question: does anyone know if codeclimate supports the branching feature?
I looked but could not see it anywhere in the docs.

I made a spec that deliberately does not cover a branch:

image

Which shows nicely in the simplecov report:
image

But it shows as 100% covered in the codeclimate output (via the browser plugin and the UI):
image

image

@filipesperandio
Copy link
Contributor

Hey @gondalez !
Thanks for bringing this to our attention. We indeed don't support branching coverage or any partial line coverage in the moment.

I will take this to our team.

@kwstannard
Copy link

I am interested in tracking branch coverage in code climate as well in my projects.

@gondalez
Copy link
Author

A teammate (@HookyQR) built a tool called uncover that helped us get feedback from codeclimate on missed branches.

I'm posting it here since I figure it may help others looking for this feature.
Contributions welcome!

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

No branches or pull requests

3 participants