EnsembleTestExecutionPlanner class
Builds a dependency-ordered execution plan for all declarative tests.
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
-
build(
{EnsembleTestAppTarget? target, EnsembleTestSelection selection = const EnsembleTestSelection(), Map< String, dynamic> inputs = const {}}) → Future<EnsembleTestExecutionPlan> - Discovers assets, parses every file, validates graph, returns run order.
-
buildForTest(
{required Map< String, String> assetContents, EnsembleTestConfig config = const EnsembleTestConfig(), EnsembleTestSelection selection = const EnsembleTestSelection(), Map<String, dynamic> inputs = const {}, Future<String> assetLoader(String assetPath)?}) → Future<EnsembleTestExecutionPlan> -
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,keychain, andenv. -
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< suiteProfileGroups = const {}, List<String> >TestDeviceTarget> suiteDevices = const [], Future<String> assetLoader(String assetPath)?}) → Future<List< EnsembleTestDefinition> > - Parses one test asset into fully expanded definitions.
-
selectAndOrderIdsForTest(
Map< String, EnsembleTestDefinition> byId, EnsembleTestSelection selection) → List<String>