Multiple coverage reports using

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

which versions are you using?

  • sonar-scanner v 0.1.43
  • SonarQube Scanner 3.2.0
  • SonarQube Server Version 6.7.5
  • sonar-javascript-plugin 4.2.1

what are you trying to achieve?

What I’d like to do is report on unit test coverage and snapshot test coverage separately. If i can find a way to create these separate coverage reports, I am wondering if it is possible to have them reflected in SonarQube. I’m not sure how to create separate reports and am evaluating if it’s worth the effort to figure it out.


You can pass in multiple reports, but coverage will be consolidated as a feature on the SonarQube side.