E2eService class

Reusable single-session and sample-suite E2E service.

Constructors

E2eService(E2eRuntime runtime)
Creates the service over one IO implementation.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtime E2eRuntime
IO boundary shared by every phase.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

inspect(E2eSessionRequest request, E2eRunReceipt receipt, {required String deviceId}) Future<E2eVerdict>
Derives a structured verdict exclusively from typed trajectory records.
launch(E2eSessionRequest request, E2ePreflight preflight) Future<E2eLaunchHandle>
Launches a fresh Flutter process and waits for VM-service readiness.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preflight(E2eSessionRequest request) Future<E2ePreflight>
Runs deterministic device, app, and provider checks.
run(E2eSessionRequest request, {required Uri vmUri, required String runDir, String? resolvedModelId}) Future<E2eRunReceipt>
Invokes the outer Leonard driver and retains its exit status as data.
runSampleSuite({required String appDir, E2eModel model = E2eModel.claude, String? modelId, String? device, List<String> extensions = const <String>['router', 'riverpod', 'dio'], List<String> cliPrefix = const <String>['dart', 'run', 'leonard_cli'], List<E2eScenario> scenarios = kLeonardSampleSuite}) Future<E2eSuiteVerdict>
Runs the requested ordered sample scenarios through runSession.
runSession(E2eSessionRequest request) Future<E2eVerdict>
Runs all phases, always tearing down a launch before returning.
teardown(E2eLaunchHandle handle) Future<void>
Releases a live Flutter launch.
toString() String
A string representation of this object.
inherited

Operators

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