EnsembleTestExecutionPlanner class

Builds a dependency-ordered execution plan for all declarative tests.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

buildForTest({required Map<String, String> assetContents, EnsembleTestConfig config = const EnsembleTestConfig(), EnsembleTestSelection selection = const EnsembleTestSelection(), Map<String, dynamic> inputs = const {}, AssetStringLoader? assetLoader}) → Future<EnsembleTestExecutionPlan>
Parses supplied test assets, expands definitions, validates dependencies, and returns the dependency-ordered suite plan.
buildFromAssets({required Map<String, String> assetContents, EnsembleTestConfig config = const EnsembleTestConfig(), EnsembleTestSelection selection = const EnsembleTestSelection(), Map<String, dynamic> inputs = const {}, AssetStringLoader? assetLoader, Map<String, dynamic>? decodedDocuments}) → Future<EnsembleTestExecutionPlan>
Builds a plan from resolved assets supplied by a host process.
expandDeviceMatrix(List<EnsembleTestDefinition> definitions, List<TestDeviceTarget> devices) → List<EnsembleTestDefinition>
Expands each definition once per suite devices entry.
mergedInitialState(Map<String, dynamic> suite, Map<String, dynamic> test) → Map<String, dynamic>
Suite state is the base; test values override values by section.
orderIdsForTest(Map<String, EnsembleTestDefinition> byId) → List<String>
Exposed for unit tests only.
parseDefinitionsForTest(String path, String content, {Map<String, dynamic> inputs = const {}, List<TestServiceConfig> services = const [], String? suiteDefaultProfile, List<String> suiteMockFiles = const [], Map<String, dynamic> suiteInlineMocks = const {}, Map<String, dynamic> suiteInitialState = const {}, Map<String, TestProfile> suiteProfiles = const {}, Map<String, List<String>> suiteProfileGroups = const {}, List<TestDeviceTarget> suiteDevices = const [], AssetStringLoader? assetLoader, YamlMap? parsedDocument}) → Future<List<EnsembleTestDefinition>>
Parses one test asset into fully expanded definitions.
selectAndOrderIdsForTest(Map<String, EnsembleTestDefinition> byId, EnsembleTestSelection selection) → List<String>