the longevity configuration.
the longevity configuration. see the reference.conf resource file for all the longevity config settings, and their defaults.
a collection of custom generators to use when generating test data.
a collection of custom generators to use when generating test data. defaults to an empty collection
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
the persistence strategy used
the persistence strategy used
a pool of the repositories for this persistence context
a pool of the repositories for this persistence context
the subdomain that provides the ubiquitous language for the bounded context
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 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
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
the longevity managed portion of the bounded context for your subdomain. the bounded context is a capture of the strategies and tools used by the applications relating to your subdomain. in other words, those tools that speak the language of the subdomain.