Module net.morimekta.testing.junit5
Package net.morimekta.testing.junit5.sql
-
Class Summary Class Description DataSourceExtension Manage a DataSource for testing. -
Enum Summary Enum Description DataSourceMode.Mode -
Annotation Types Summary Annotation Type Description DataSourceDriverClass Specify the driver class to load for using the database.DataSourceMode If noDataSourceURIMethod
is specified to connect to an existing DB instance, then create a H2 in-memory DB instance using a specified query syntax mode.DataSourceSchema Specify SQL schemas to be loaded on startup of the DB, before starting the test.DataSourceURI Declare on parameter or test instance field to get the URI for the DB.DataSourceURIMethod If using an externally started / running DB instance, create a method to get the JDBC URI to connect to the DB.