-
Notifications
You must be signed in to change notification settings - Fork 4
@DisplaySql
This annotation displays on the console the SQL statements produced during the test execution.
Compared to DisplaySqlOfTestMethodBody annotation, DisplaySql also displays SQL statements before (JUnit 4: @Before, @BeforeClass) and after (JUnit 4: @After, @AfterClass) the execution of the test method body.
β We don't recommend committing this annotation. Indeed, the SQL statements would pollute the logs and may slow down the continuous integration build.
π 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