I wanted to know if with Spring Boot and Eclipse it is possible to configure something so that in the% of the project coverage it does not take into account the coverage of certain classes.
Asked
Active
Viewed 283 times
1 Answers
0
you are using jacoco plugin u can use like below
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.mavenplugin.version}</version>
<configuration>
<excludes>
<exclude>some/package/**/*</exclude>
</excludes>
</configuration>
<executions>
...
</executions>
</plugin>
please refer below
Maven Jacoco Configuration - Exclude classes/packages from report not working

sai
- 111
- 1
- 3
-
I have this pachage: test.my.project.config How would it be to exclude the .config package – jdflores Nov 29 '19 at 10:31
-
test.my.project.config/**/* – sai Nov 29 '19 at 11:41