public final class EmbeddedPostgresExtension extends Object
Modifier and Type | Method and Description |
---|---|
static PreparedDbExtension |
preparedDatabase(DatabasePreparer preparer)
Returns a
Extension to create a Postgres cluster, shared amongst all test cases in this JVM. |
static SingleInstancePostgresExtension |
singleInstance()
Create a vanilla Postgres cluster -- just initialized, no customizations applied.
|
public static SingleInstancePostgresExtension singleInstance()
public static PreparedDbExtension preparedDatabase(DatabasePreparer preparer)
Extension
to create a Postgres cluster, shared amongst all test cases in this JVM.
The rule contributes Config switches to configure each test case to get its own database.Copyright © 2022. All rights reserved.