This guide contains several projects showing how to use QuickPerf JVM and SQL annotations with various frameworks (JUnit 4, JUnit 5, TestNG, Testcontainers, Spring Boot, Quarkus, Micronaut, ...).
The guide is interactive. You can click on the below links to open files or start the predefined commands.
Powered by Eclipse Che and VSCode Didact.
Enjoy!
jvm-junit4
Examples showing how to use some JVM annotations with JUnit 4
- Open the org.quickperf.jvm.JvmAnnotationsJunit4Test class
- Kick off the test
- Kick off the test @MeasureHeapAllocation
jvm-junit5
Examples showing how to use some JVM annotations with JUnit 5
- Open the org.quickperf.jvm.JvmAnnotationsJunit5Test class
- Kick off the test
- Kick off the test @MeasureHeapAllocation
jvm-testng
Examples showing how to use some JVM annotations with TestNG
- Open the org.quickperf.jvm.JvmAnnotationsTestNGTest class
- Kick off the test
- Kick off the test @MeasureHeapAllocation
hibernate-junit4
Examples showing how to use some SQL annotations with Hibernate and JUnit 4
- Open the org.quickperf.sql.HibernateJUnit4Test class
- Kick off the test
hibernate-testng
Examples showing how to use some SQL annotations with Hibernate and TestNG
- Open the org.quickperf.sql.HibernateTestNGTest class
- Kick off the test
springboot-junit4
This Spring Boot project illustrates how to use QuickPerf with JUnit 4
- Open the football.controller.PlayerControllerTest class
- Kick off the test
- Open the football.service.PlayerServiceTest class
- Kick off the test
- Open the football.repository.PlayerRepositoryTest class
- Kick off the test
springboot-junit5
This Spring Boot project illustrates how to use QuickPerf with JUnit 5
- Open the football.controller.PlayerControllerTest class
- Kick off the test
- Open the football.service.PlayerServiceTest class
- Kick off the test
- Open the football.repository.PlayerRepositoryBatchTest class
- Kick off the test
- Open the football.repository.PlayerRepositorySelectTest class
- Kick off the test
micronaut-data-jdbc
This Micronaut/Data JDBC project illustrates how to use QuickPerf with JUnit 5.
- Open the org.quickperf.micronaut.micronauttest.service.PlayerServiceTest class
- Kick off the test
- Open the org.quickperf.micronaut.micronauttest.controller.PlayerControllerTest class
- Kick off the test
quarkus
This Quarkus project illustrates how to use QuickPerf with JUnit 5 for SQL annotations only.
- Open the org.quickperf.quarkus.quarkustest.service.PlayerServiceTest class
- Kick off the test
- Open the org.quickperf.quarkus.quarkustest.controller.PlayerControllerTest class
- Kick off the test