Skip to content

@ExpectUpdatedColumn

Jean Bisutti edited this page Nov 18, 2020 · 4 revisions

With this annotation, the test will fail if the number of updated columns is not equal to the one expected.

See also the ExpectMaxUpdatedColumn annotation.

πŸ”§ Elements

Name Type Meaning Default value
value int Expected number of updated columns 0

πŸ”Ž Example

    @ExpectUpdatedColumn(3)

Annotations

πŸ‘‰ Β Core

πŸ‘‰ Β JVM

πŸ‘‰ Β SQL

πŸ‘‰ Β Scopes

πŸ‘‰ Β Create an annotation

Supported frameworks

πŸ‘‰ Β JUnit 4

πŸ‘‰ Β JUnit 5

πŸ‘‰ Β TestNG

πŸ‘‰ Β Spring

How to

πŸ‘‰ Β Detect and fix N+1 SELECT

Project examples

πŸ‘‰ Β Maven performance

πŸ‘‰ Β Spring Boot - JUnit 4

πŸ‘‰ Β Spring Boot - JUnit 5

πŸ‘‰ Β Micronaut Data - JUnit 5

πŸ‘‰ Β Micronaut - Spring - JUnit 5

πŸ‘‰ Β Quarkus - JUnit 5

Miscellaneous

πŸ‘‰ Β FAQ

πŸ‘‰ Β QuickPerf code

Clone this wiki locally