-
Notifications
You must be signed in to change notification settings - Fork 4
@ExpectMaxDelete
Jean Bisutti edited this page Nov 18, 2020
·
1 revision
With this annotation, the test will fail if the number of DELETE statements is greater than expected.
See also the ExpectDelete annotation.
Name | Type | Meaning | Default value |
---|---|---|---|
value | int | Maximum number of deletes | 0 |
@ExpectMaxDelete(1)
@Test
public void execute_one_delete() {
//...
}
π Β 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