I’ve got a weird setup due to legacy code. I have tests in sub-project A that exercise classes in sub-project B. Right now my code coverage in Sonar is not showing that the classes in B are coverage.
Is there a way to get Sonar to show these classes in sub-project B as covered?
The most important thing is that the coverage report being imported to SonarQube shows these classes as covered. SonarQube just read the report, it’s not involved in generating them.
What does the coverage report say about these classes?
Which coverage report? This is a Gradle project with multiple sub-projects. I thought sonar combined all the xml files that were sent to it into one report.