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
      DbUnitOperation value
      Operation to load before test.
    • Element Detail

      • value

        DbUnitOperation value
        Operation to load before test.
        Returns:
        Set of operation.
        Default:
        com.github.mjeanroy.dbunit.core.operation.DbUnitOperation.CLEAN_INSERT