-
Notifications
You must be signed in to change notification settings - Fork 4
JUnit 5
You can use JUnit 5 and QuickPerf BOM files.
In the case of Maven, you can use the following dependency management:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.6.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.quickperf</groupId>
<artifactId>quick-perf-bom</artifactId>
<version>1.0.0-RC7</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
Then, add the following QuickPerf dependency in your POM file:
<dependency>
<groupId>org.quickperf</groupId>
<artifactId>quick-perf-junit5</artifactId>
<scope>test</scope>
</dependency>
You can use the core and JVM annotations by adding @QuickPerfTest
on the test class.
Want to use SQL annotations with Spring5? Please read this.
QuickPerf / JUnit 5 project examples:
π Β Core
π Β JVM
π Β SQL
π Β Scopes
π Β Create an annotation
π Β JUnit 4
π Β JUnit 5
π Β TestNG
π Β Spring
π Β Detect and fix N+1 SELECT
π Β Maven performance
π Β Spring Boot - JUnit 4
π Β Spring Boot - JUnit 5
π Β Micronaut Data - JUnit 5
π Β Micronaut - Spring - JUnit 5
π Β Quarkus - JUnit 5
π Β FAQ
π Β QuickPerf code