TestPlanner

izumi.distage.testkit.runner.impl.TestPlanner
See theTestPlanner companion object
class TestPlanner(logging: TestkitLogging, configLoader: TestConfigLoader, testTreeBuilder: TestTreeBuilder, testRunnerLocator: LocatorRef, logBuffer: LogQueue)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def planGroupTests[F[_]](distageTests: Seq[DistageTest[AnyF]], parTraverseExt: ParTraverseExt[F])(implicit F: QuasiIO[F]): F[PlannedTests[AnyF]]

Group tests by their memoization environment. TestEnvironment.EnvExecutionParams - contains parts of environment that may radically affect planning. Grouping by such structure will allow us to create memoization groups with shared logger and parallel execution policy.

Group tests by their memoization environment. TestEnvironment.EnvExecutionParams - contains parts of environment that may radically affect planning. Grouping by such structure will allow us to create memoization groups with shared logger and parallel execution policy.

Attributes

Returns

PackedEnv mapped to izumi.distage.testkit.runner.impl.TestTreeBuilder.TestTreeBuilderImpl.MemoizationTreeBuilder

  • tree-represented memoization plan with tests. PackedEnv represents memoization environment, with shared Injector, and runtime plan.