-
Notifications
You must be signed in to change notification settings - Fork 4
@ExpectSelect
Jean Bisutti edited this page Nov 18, 2020
Β·
4 revisions
Verifies the number of SELECT statements.
See also the ExpectMaxSelect annotation.
Name | Type | Meaning | Default value |
---|---|---|---|
value | int | Number of select statements | 1 |
@ExpectSelect(1)
@Test
public void should_retrieve_all_cars() {
//...
}
π 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