Skip to content

Commit

Permalink
TIL that surefire scans ALL classes in test/ for tests, even if the…
Browse files Browse the repository at this point in the history
…y're not in the source directory.

This is really dumb, the files are in the RESOURCES folder for a damn reason
  • Loading branch information
Col-E committed Jul 27, 2021
1 parent 860e6e7 commit 235041f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<excludes>samples/**</excludes> <!-- Do not scan the samples in an attempt to find tests -->
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
</configuration>
Expand Down

0 comments on commit 235041f

Please sign in to comment.