Code coverage for a merge request

Must-share information (formatted with Markdown):

  • Sonarqube 9.9.0.65466 enterprise
  • Not sure
  • I want to know for a merge request/commit what test coverage it has. Is there a way to only look at code from a MR/commit or a set of them? If not how would you write a plugin to enable that?

Hey there.

This should work by default using Pull Request Analysis and importing test coverage. Here’s an example on our instance of SonarQube: SonarQube

Which piece isn’t working for you?

Sorry for my delayed response. Thanks for pointing that out. I think my underlying question was broader. Let me repost a new question.