@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited public @interface EnsureCleanDb
AssertionError in case the DB is not clean. If the DB is not clean, it would be cleaned by performing a create and drop.
Dropping the DB can be disabled by setting dropDb() to false.
If the TestInstance.Lifecycle is set to
TestInstance.Lifecycle#PER_CLASS then the assertion will happen after all tests have run.| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
dropDb |
String[] |
excludeTables
The names of the tables that should be excluded from a check
|
public abstract String[] excludeTables
Copyright © 2021 Flowable. All rights reserved.