Skip to content

Commit

Permalink
Remove default surefire/failsafe exclusions to run nested tests by de…
Browse files Browse the repository at this point in the history
…fault.

Surefire and Failsafe plugins by default exclude nested classes.
This overwrites these excludes with empty ones, thus enabling execution of nested classes.

See https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html\#excludes

Closes #2119
  • Loading branch information
schauder authored and mp911de committed Sep 28, 2023
1 parent 8a95d38 commit 7346042
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,7 @@
<includes>
<include>**/*Tests.java</include>
</includes>
<excludes><exclude/></excludes>
</configuration>
</plugin>

Expand All @@ -1370,6 +1371,7 @@
<configuration>
<useFile>false</useFile>
<argLine>-Xverify:all</argLine>
<excludes><exclude/></excludes>
</configuration>
</plugin>

Expand Down

0 comments on commit 7346042

Please sign in to comment.