How to display separate JaCoCo coverage reports (Unit Tests and BDD) in a single SonarQube project?

I have a Java project where I have written both unit tests and BDD tests for the same codebase. Using JaCoCo, I am able to generate coverage reports for both test types separately.

Now, I would like to display these coverage reports in SonarQube under a single project, but as separate reports (for example, report_unittest and report_bdd).

Is it possible to configure SonarQube to show multiple coverage reports separately within the same project? If yes, how can I achieve this?

Hi,

Welcome to the community!

It’s possible to import both reports, but they’ll be conflated on display. SonarQube only presents overall coverage.

 
HTH,
Ann