Skip to content

Commit

Permalink
Load junit-extensions for surefire tests
Browse files Browse the repository at this point in the history
It is very useful when running JUnit tests, and harmless otherwise.
  • Loading branch information
findepi committed Feb 6, 2024
1 parent 4425dfd commit e14ab71
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Airbase 150

* Verify JUnit tests with Airlift `junit-extensions` verifier.

Airbase 149
* Remove bval dependency
* Plugin updates:
Expand Down
15 changes: 15 additions & 0 deletions airbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,7 @@
<user.timezone>${air.test.timezone}</user.timezone>
<java.awt.headless>true</java.awt.headless>
<java.util.logging.SimpleFormatter.format>%1$tY-%1$tm-%1$tdT%1$tH:%1$tM:%1$tS.%1$tL%1$tz %4$s %5$s%6$s%n</java.util.logging.SimpleFormatter.format>
<junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled>
</systemPropertyVariables>
<trimStackTrace>false</trimStackTrace>
<runOrder>random</runOrder>
Expand All @@ -862,6 +863,20 @@
${surefireEnablePreview}
${air.test.jvm.additional-arguments}
</argLine>
<additionalClasspathDependencies>
<additionalClasspathDependency>
<groupId>io.airlift</groupId>
<artifactId>junit-extensions</artifactId>
<version>3</version>
<exclusions>
<!-- additionalClasspathDependencies does not support dependency resolution, so dependencies result in duplicate/conflicting classpath elements -->
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</additionalClasspathDependency>
</additionalClasspathDependencies>
</configuration>
</plugin>

Expand Down

0 comments on commit e14ab71

Please sign in to comment.