Kotest
A guide for generating Trunk-compatible test reports for Kotest
Checklist
Generating Reports
<project>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.2</version>
</plugin>
<!-- other plugins -->
</plugins>
</build>
</project><dependencies>
<dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-extensions-junitxml-jvm</artifactId>
<version>5.9.0</version>
<scope>test</scope>
</dependency>
<!-- other dependencies -->
</dependencies>Report File Path
java.testResultsDir = layout.buildDirectory.dir("junit-reports")<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.2</version>
<configuration>
<reportsDirectory>${project.build.directory}/junit/</reportsDirectory>
</configuration>
</plugin>Disable Retries
Try It Locally
The Validate Command
Test Upload


Next Steps
Last updated













