Interface JdbiExtensionInitializer

All Known Implementing Classes:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface JdbiExtensionInitializer
Initialize the data source before running a test. JdbiExtensionInitializer instances are often used to create the DDL schema for a test or preload data into the data source.
  • Method Summary

    Modifier and Type
    default void
    cleanup(DataSource ds, Handle handle)
    Run cleanup code after a test.
    Run initialization code before a test.