Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 776 Bytes

File metadata and controls

9 lines (6 loc) · 776 Bytes

This Spring Boot project illustrates how to use QuickPerf with JUnit 5 during testing of a repository, a service or a controller.

At the beginning of each test, a SQL script defined in the import.sql file is executed. This script inserts two players and their team in the database.

Global annotations are configured in QuickPerfConfiguration. These annotations apply on each test.

For QuickPerf to be able to spy on your SQL requests, it needs a way to proxy your DataSource via ttddyy. In this example, this is done with QuickPerfSqlConfig that is part of the org.quickperf:quick-perf-sql-spring5 library.