package testkit
- Alphabetic
- Public
- Protected
Type Members
- 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
- 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 samememoizationRoots
- 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
- object TestConfig extends Serializable