Annotation Type DbUnitSetup


@Retention(RUNTIME) @Inherited @Documented @Target({METHOD,TYPE}) public @interface DbUnitSetup
Database operation to execute before test is executed. This annotation can be used on:
  • Method (i.e test method).
  • Class (i.e test class).
  • Package (i.e package where test classes belongs)
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Operation to load before test.
  • Element Details

    • value

      Operation to load before test.
      Returns:
      Set of operation.
      Default:
      CLEAN_INSERT