Shippable / support

Shippable SaaS customers can report issues and feature requests in this repository
100 stars 28 forks source link

Ruby - Not displaying code or branch coverage #902

Closed jessebs closed 9 years ago

jessebs commented 9 years ago

I just moved to shippable yesterday and am having an issue with code coverage and branch coverage. It's a ruby project (https://github.com/dashingrocket/mongodb_queue) using SimpleCov and Test::Unit.

When I go to the coverage tab, I have 0.00% branch coverage but a valid number for sequence coverage. Also, clicking on the filename doesn't show the code.

To me, the fact that I have sequence coverage showing means that I have it at least partially setup right.

jessebs commented 9 years ago

I made some progress. It looks like CSV doesn't output any more than the coverage on a per-file level. I created a new project to format simplecov as cobertura (https://github.com/dashingrocket/simplecov-cobertura).

I'm still not seeing lines of code displayed in the shippable ui, but at least the data is in the output now. I imagine it's just a matter of full vs relative path or something similar.

I'd gladly work with you guys to get this plugin to work right with Shippable. I think it would be useful for all the ruby projects you host.

jessebs commented 9 years ago

After some searching, it appears as though Shippable doesn't ever display the code, just coverage overviews (per #174). If this is the case, this issue isn't actually a problem.

manishas commented 9 years ago

@jessebs yes, you're right. This is a feature request on our plate and we will address it soon. Thanks for the follow ups!

I am closing this issue since the FR is being tracked as a part of 174.