Packages

package testkit

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package services

Type Members

  1. final case class SpecConfig(contextOptions: PlanningOptions = PlanningOptions(), bootstrapOverrides: distage.BootstrapModule = BootstrapModule.empty, moduleOverrides: distage.ModuleBase = ModuleBase.empty, bootstrapLogLevel: Level = Log.Level.Info, configOverrides: (AppConfig) => AppConfig = identity) extends Product with Serializable
  2. final case class TestConfig(pluginSource: PluginSource, activation: distage.Activation = StandardAxis.testProdActivation, memoizationRoots: Set[distage.DIKey] = Set.empty, moduleOverrides: distage.Module = Module.empty, bootstrapOverrides: distage.BootstrapModule = BootstrapModule.empty) extends Product with Serializable

    pluginSource

    Source of module definitions from which to build object graphs for each tests. Each PluginSource creates a distinct memoization group (aka izumi.distage.testkit.services.dstest.TestEnvironment). objects will be memoized only between tests in the same memoization group

    activation

    Chosen configurations. Different Activations will create distinct memoization groups

    memoizationRoots

    Every distinct set of memoizationRoots will create a distinct memoization group for tests with the exact same memoizationRoots

    moduleOverrides

    Override loaded plugins with a given Module. Using overrides will create a distinct memoization group, i.e. objects will be memoized only between tests with the exact same overrides

    bootstrapOverrides

    Same as moduleOverrides, but for BootstrapModule

Value Members

  1. object TestConfig extends Serializable

Ungrouped