Package org.flywaydb.test.dbunit
Annotation Interface DBUnitSupport
Add additional DBUnit support for loading data during test
or store table content in a specific file.
Attention: This will only be part of the project until a annotation support
will be integrated into dbunit.
- Version:
- 1.0
- Author:
- florian
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]the list of files that should be loaded for a test run.were to store the database result after test run if this is empty string nothing will be stored.String[]which tables should be exported , we use a pattern of TABLE_NAME , SELECT Querry , if select query is empty a select * from table will be done
-
Element Details
-
saveFileAfterRun
String saveFileAfterRunwere to store the database result after test run if this is empty string nothing will be stored.- Default:
- ""
-
saveTableAfterRun
String[] saveTableAfterRunwhich tables should be exported , we use a pattern of TABLE_NAME , SELECT Querry , if select query is empty a select * from table will be done- Default:
- {}
-
loadFilesForRun
String[] loadFilesForRunthe list of files that should be loaded for a test run. This files where searched in the classpath. It will use a pattern like 'DBUnit Command', 'xmlfile' . The commands will be executed in the identically order as specified in the list.- Default:
- {}
-