Sonar Community
Is it possible to scan source but ignore test coverage when a subproject has no tests?
SonarQube
Jaff
(Mark Jaffe)
July 2, 2020, 5:15pm
#1
SonarQube 8.3.1 DE, Gradle Plugin 2.8
Scan multi-module project in java; some sub-projects are missing tests
Setting property sonar.tests = “” in sub-project causes failure of entire scan
Setting skipProject = true works, but disables java analysis
ganncamp
(G Ann Campbell)
July 2, 2020, 7:28pm
#2
Hi,
You’re looking for
coverage exclusions
.
Ann