constructs a LongevityContext with an empty set of custom generators using a Typesafe config
constructs a LongevityContext with an empty set of custom generators using a Typesafe config
the domain model
the typesafe configuration
constructs a LongevityContext using a Typesafe config
constructs a LongevityContext using a Typesafe config
the domain model
the typesafe configuration
a collection of custom generators to use when generating test data
longevity.exceptions.context.LongevityConfigException
if the
typesafe configuration does not adequately specify the LongevityConfig
creates a LongevityContext using a LongevityConfig
creates a LongevityContext using a LongevityConfig
the domain model
the longevity configuration
a collection of custom generators to use when generating test data. defaults to empty
the longevity configuration
a collection of custom generators to use when generating test data.
a collection of custom generators to use when generating test data. defaults to empty
the domain model
a simple ScalaTest spec to test your in-memory repo pool.
a simple ScalaTest spec to test your in-memory repo pool. all you have to do is include this value within a ScalaTest suite. for example:
val storefrontContext: LongevityContext = ??? class StorefrontRepoCrudSpec extends Suites(storefrontContext.inMemTestRepoCrudSpec)
the execution context
an in-memory set of repositories for this longevity context, for use in testing
an in-memory set of repositories for this longevity context, for use in testing
a utility to translate from your domain objects into JSON
a utility to translate from your domain objects into JSON
a utility to translate from JSON into your domain objects
a utility to translate from JSON into your domain objects
a simple ScalaTest spec to test your repo pool.
a simple ScalaTest spec to test your repo pool. all you have to do is include this value within a ScalaTest suite. for example:
val storefrontContext: LongevityContext = ??? class StorefrontRepoCrudSpec extends Suites(storefrontContext.repoCrudSpec)
the execution context
a pool of the repositories for this persistence context
a pool of the repositories for this persistence context
a utility class for generating test data for the domain model
a utility class for generating test data for the domain model
a set of repositories used for testing, targeting the same persistence strategy as your main repo pool
a set of repositories used for testing, targeting the same persistence strategy as your main repo pool
a collection of longevity utilities applicable to a specific DomainModel.