CliCompiledPlanBatch class final

Compiles selected suite plans in the CLI process before worker dispatch.

Workers receive selected parsed definitions, suite configuration and immutable execution plans before their test entry points start.

Properties

config → EnsembleTestConfig
final
definitionsById → Map<String, EnsembleTestDefinition>
final
hashCode → int
The hash code for this object.
no setterinherited
plansById → Map<String, ExecutionPlan>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encodeForWorker({Iterable<String> testIds = const [], Iterable<String> assetPaths = const []}) → String
Encodes only the plans assigned to one worker, including session setup definitions required by those plans.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
testIdsForAssetPaths(Iterable<String> assetPaths) → List<String>
Returns selected case IDs whose source assets are assigned to a worker. Session definitions are included only when their source path is assigned.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

build({required String appDirectory, required String testsDirectory, required List<String> arguments, required EnsembleTestConfig config, Map<String, String>? assetContents, Map<String, dynamic>? decodedDocuments, ExecutionPlan compile(EnsembleTestCase test)?}) → Future<CliCompiledPlanBatch>