Class SingleDatabaseBuilder
java.lang.Object
de.softwareforge.testing.postgres.junit5.SingleDatabaseBuilder
Create a new cluster that supports only a single database.
-
Method Summary
Modifier and TypeMethodDescriptioninstance()
Create a vanilla database -- just initialized, no customizations applied.Create a vanilla database with standard initializations (EmbeddedPostgres.Builder.withDefaults()
).preparedInstance
(DatabasePreparer preparer) Create a vanilla database and execute aDatabasePreparer
for initialization on it.preparedInstanceWithDefaults
(DatabasePreparer preparer) Create a vanilla database with defaults and execute aDatabasePreparer
for initialization on it.
-
Method Details
-
instance
Create a vanilla database -- just initialized, no customizations applied. -
instanceWithDefaults
Create a vanilla database with standard initializations (EmbeddedPostgres.Builder.withDefaults()
). -
preparedInstance
public static DatabaseManager.Builder<EmbeddedPgExtension> preparedInstance(DatabasePreparer preparer) Create a vanilla database and execute aDatabasePreparer
for initialization on it. -
preparedInstanceWithDefaults
public static DatabaseManager.Builder<EmbeddedPgExtension> preparedInstanceWithDefaults(DatabasePreparer preparer) Create a vanilla database with defaults and execute aDatabasePreparer
for initialization on it.
-