-
Notifications
You must be signed in to change notification settings - Fork 35
Usage of Annotation DBUnitSupport
Florian edited this page Jul 2, 2014
·
4 revisions
With the annotation you get the possibility to use some basic DBUnit features.
- insert of table content
- store table content to XML files
See also the source code DBUnitSupport
-
saveFileAfterRun
specifiy the location of the export file. If the value is empty no table export can be done.
Should be used together withsaveTableAfterRun
.
Default value is empty string -
saveTableAfterRun
Specify the tablename and the corresponding SQL select statement to store the result table result.
Default value is a empty list -
loadFileForRun
Use a DBUnit command and a specifiy XML DBUnit file together.
For one file you must specify two entries one for the command and one for the locatioon of the file.
Example: "INSERT","mydir/mytestinserts.xml"
Default value is a empty list