cobertura не показывает все результаты
Unable to get proper codecoverage report in either of the cases.
1. when maven project is build with mvn cobertura:cobertura then cobertura is able to show coverage percentage but few packages are not shown in results.
2. Added below maven plugin and build the project, now it displays all packages but test coverage percentage is 0.
<pre>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<argLine>-XX:-UseSplitVerifier</argLine>
<formats>
<format>xml</format>
</formats>
</configuration>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>cobertura</goal>
</goals>
</execution>
</executions>
</plugin>
</pre>
Все тестовые примеры, которые я пытаюсь выполнить, написаны с использованием Mockito, а все методы тестирования имеют префикс name test.
Пожалуйста помоги