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
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
devicesentry. -
mergedInitialState(
Map< String, dynamic> suite, Map<String, dynamic> test) → Map<String, dynamic> -
Suite
initialStateis the base; test values override per key withinstorage,secureStorage,keychain, andenv. -
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< suiteProfileGroups = const {}, List<String> >TestDeviceTarget> suiteDevices = const [], AssetStringLoader assetLoader = _unavailableAssetLoader, dynamic parsedDocument}) → Future<List< EnsembleTestDefinition> >