Code coverage visualization not working

I try to configure gitlab to display coverage inside merge request but seems it doesn’t work.

Prepare pet clinic project with additional cobertura step as described in guidelines: https://docs.gitlab.com/ee/user/project/merge_requests/test_coverage_visualization.html

But no success at all. In MR I didn’t found any visualization that line covered or not.
Project is public: https://gitlab.com/r.torsten/test-coverage-visualization

Will be glad if you somebody can share some idea why this functionality not working.

Thanks for the post @rtorsten and welcome to the forum!

It looks like it’s working but the lines shown in the Changes tab don’t have data in the cobertura.xml file. If you expand the view you can see coverage for surrounding lines.

-James H, GitLab Product Manager, Verify:Testing

Many thanks, James. Now this functionality is clear for me.

1 Like