Annotation Interface DBUnitSupport


@Retention(RUNTIME) public @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 Elements
    Modifier and Type
    Optional Element
    Description
    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.
    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 saveFileAfterRun
      were to store the database result after test run if this is empty string nothing will be stored.
      Default:
      ""
    • saveTableAfterRun

      String[] saveTableAfterRun
      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
      Default:
      {}
    • loadFilesForRun

      String[] loadFilesForRun
      the 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:
      {}