-
Notifications
You must be signed in to change notification settings - Fork 4
@ExpectMaxDelete
Jump to bottom
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.
Elements
| Name | Type | Meaning | Default value |
|---|---|---|---|
| value | int | Maximum number of deletes | 0 |
Example
@ExpectMaxDelete(1)
@Test
public void execute_one_delete() {
//...
}
@Test
public void execute_one_delete() {
//...
}
Annotations
Core
JVM
SQL
Scopes
Create an annotation
Supported frameworks
How to
Project examples
Maven performance
Spring Boot - JUnit 4
Spring Boot - JUnit 5
Micronaut Data - JUnit 5
Micronaut - Spring - JUnit 5
Quarkus - JUnit 5