How I Got SonarCloud to Detect Test Coverage in a Spring Boot Project with JaCoCo

Recently, I ran into a pretty common problem while working on a Spring Boot project with SonarCloud: test coverage wasn't being reported correctly. Even though my tests were running fine, SonarCloud was showing 0% coverage.

May 5, 2025 - 18:20
 0
How I Got SonarCloud to Detect Test Coverage in a Spring Boot Project with JaCoCo

Recently, I ran into a pretty common problem while working on a Spring Boot project with SonarCloud: test coverage wasn't being reported correctly. Even though my tests were running fine, SonarCloud was showing 0% coverage.