You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to exclude the java package for unit test coverage, then i change my pom.xml
org.scoverage
scoverage-maven-plugin
${scoverage.plugin.version}
80
false
(empty);com.aspects.
com.aspects.log
it does not work.
issue 2:
i make a workaround for it. i write the unit test for log.java. i can see the unit test is execution. but the sonar report still saying the coverage is zero for log.java
The text was updated successfully, but these errors were encountered:
Hi @chp008
this plugin instruments only Scala code and thus it can't get coverage from Java code. You probably need to collect coverage for Scala and Java separately. Not sure if Sonar can combine those for you.
issue 1:
Project Package
java
com.aspects
-- log.java
scala
-- function.scala
i want to exclude the java package for unit test coverage, then i change my pom.xml
org.scoverage
scoverage-maven-plugin
${scoverage.plugin.version}
80
false
(empty);com.aspects.
com.aspects.log
it does not work.
issue 2:
i make a workaround for it. i write the unit test for log.java. i can see the unit test is execution. but the sonar report still saying the coverage is zero for log.java
The text was updated successfully, but these errors were encountered: