kanedafromparis / quickperf-examples

Examples showing how to use QuickPerf with several frameworks (JUnit 4, JUnit 5, TestNG, Spring Boot, Quarkus, Micronaut, ...)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QuickPerf

QuickPerf examples

This repository contains several projects showing how to use QuickPerf with various frameworks (JUnit 4, JUnit 5, TestNG, Spring Boot, Quarkus, Micronaut, ...).

How to run the examples

JVM annotations

Hibernate without Spring

Spring Boot

Micronaut

Quarkus

How to run the examples

QuickPerf artifacts are published to Maven central.

Execute the following command lines:

Windows

  git clone https://github.com/quick-perf/quickperf-examples.git
  cd quickperf-examples
  mvnw.cmd compile

Mac or Linux or Windows with Git Bash

  git clone https://github.com/quick-perf/quickperf-examples.git
  cd quickperf-examples
  ./mvnw compile

Import the quickperf-examples project in your IDE.

You can now execute the test methods from your IDE.

Tests are skiped by default as they will all fail, if you want to execute them via Maven you need to use mvn clean test -Dmaven.test.skip=false -Dmaven.test.failure.ignore.

JVM annotations

The documentation of JVM annotations is here.

jvm-junit4
Examples showing how to use some JVM annotations with JUnit 4.

jvm-junit5
Examples showing how to use some JVM annotations with JUnit 5.

jvm-testng
Examples showing how to use some JVM annotations with TestNG.

Hibernate without Spring

The documentation of SQL annotations is here.

hibernate-junit4
Examples showing how to use some SQL annotations with Hibernate and JUnit 4.

hibernate-junit5
Examples showing how to use some SQL annotations with Hibernate and JUnit 5.

hibernate-testng
Examples showing how to use some SQL annotations with Hibernate and TestNG.

Spring Boot

springboot-junit4
This Spring Boot project illustrates how to use QuickPerf with JUnit 4.

springboot-junit5
This Spring Boot project illustrates how to use QuickPerf with JUnit 5.

Micronaut

micronaut-hibernate-jpa
This Micronaut/Hibernate/JPA project illustrates how to use QuickPerf with JUnit 5.

micronaut-data-jdbc
This Micronaut/Data JDBC project illustrates how to use QuickPerf with JUnit 5.

Quarkus

quarkus
This Quarkus project illustrates how to use QuickPerf with JUnit 5 for SQL annotations only.

About

Examples showing how to use QuickPerf with several frameworks (JUnit 4, JUnit 5, TestNG, Spring Boot, Quarkus, Micronaut, ...)

License:Apache License 2.0


Languages

Language:Java 100.0%