DBTestSetup
- Since
25 Jun 2020
trait PureharmTestRuntimeLazyConversions
class Object
trait Matchable
class Any
Type members
Classlikes
Types
Value members
Abstract methods
Should be overridden to create a connection config appropriate for the test
Should be overridden to create a connection config appropriate for the test
To ensure unique schema names for test cases use the extension methods: TestSetupClassName.withSchemaFromClassAndTest or the explicit variants schemaName
protected def dbTransactorInstance(testOptions: TestOptions)(implicit rt: RT, logger: TestLogger): Resource[IO, DBTransactor]
Concrete methods
protected def _initDB(testOptions: TestOptions)(implicit rt: RT, logger: TestLogger): Resource[IO, Unit]
def transactor(testOptions: TestOptions)(implicit rt: RT, logger: TestLogger): Resource[IO, DBTransactor]