- 
                Notifications
    
You must be signed in to change notification settings  - Fork 4
 
JUnit 5
        Jean Bisutti edited this page Jun 21, 2020 
        ·
        17 revisions
      
    You can use JUnit 5 and QuickPerf BOM files.
In 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>By adding @QuickPerfTest on the test class, core and JVM annotations should work.
A project example with JUnit 5 and Spring Boot is available here.
π Β 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