TestDefinitionExpander class

Expands parsed test documents into runnable definitions.

This boundary owns profile, scenario, mock, initial-state, and device expansion. Planning and graph ordering stay in EnsembleTestExecutionPlanner.

Constructors

TestDefinitionExpander()

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

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 initialState is the base; test values override per key within storage, secureStorage, keychain, and env.
parse(String path, String content, {required Map<String, dynamic> inputs, 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 = _unavailableAssetLoader, dynamic parsedDocument}) → Future<List<EnsembleTestDefinition>>