codeclimate / test-reporter

Code Climate Test Reporter
MIT License
154 stars 76 forks source link

Simplecov branching support? #462

Open gondalez opened 3 years ago

gondalez commented 3 years ago

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 commented 3 years ago

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 commented 2 years ago

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

gondalez commented 1 year ago

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!