Skip to content

Latest commit

 

History

History
91 lines (66 loc) · 7.71 KB

che-didact-guide.md

File metadata and controls

91 lines (66 loc) · 7.71 KB
QuickPerf

Welcome to the QuickPerf examples guide

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 annotations

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 without Spring

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

Spring Boot

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

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

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