-
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