cli/ensemble_test_cli library

Functions

materializeTransportedArtifactsForTest(String appDir, String output) → Future<void>
Test hook for the device-to-host artifact protocol.
mergeWorkerReportsForTest({required List<ProcessResult> results, required List<String> reportFiles, required List<List<String>> expectedWorkerTestIds, required String appDir}) → EnsembleTestRunResult
Test hook for validating worker report recovery without launching Flutter.
planShardRunIdsForTest({required String appDir, List<String> arguments = const [], int? jobs}) → Future<List<List<String>>>
Returns the expanded run ids assigned to each parallel worker.
resolveExecutionModeForTest(List<String> arguments, ExecutionMode configured) → ExecutionMode
Test hook for CLI precedence without launching a subprocess.
runEnsembleTestsCli(List<String> arguments) → Future<void>
Runs declarative tests in an Ensemble app.
runRunnerWorkersForBenchmark({required String appDir, required int workers, required String testsDir, required String testEntry}) → Future<ProcessResult>
Internal benchmark adapter to the actual CLI worker launch/merge pipeline. It cannot be used without an active standalone benchmark collector.
selectIntegrationDeviceIdForTest(String machineJson, {String? requestedId}) → String
Test hook for deterministic device filtering and non-interactive selection.
validateExecutionModeOptionsForTest(List<String> arguments, {required ExecutionMode mode, required EnsembleTestConfig config, int? jobs}) → void
Test hook for execution-mode option compatibility.