Integration Test Coverage in SonarQube from JaCoCo Maven plug-in showing 0%

前端 未结 5 670
天命终不由人
天命终不由人 2021-02-05 14:58

We have a multi-module multi-language maven java project with coverage analysis with jacoco. The main part of the modules is backend (Java code) with a REST API and our webapp m

5条回答
  •  爱一瞬间的悲伤
    2021-02-05 15:11

    I use JUnit and in my case the issue was because of having TestNG dependency in my pom.xml in addition to JUnit. After removing this unnecessary dependency, everything started to work as expected.

提交回复
热议问题