StandaloneTestSessionFactory class

Standalone session factory for Flutter test contexts.

Requires a valid WidgetTester / test binding. Reuses EnsembleTestHarness — does not invent a second bootstrap path. Creates one shared AssertionEngine + TestStepExecutor per session.

Implemented types

Constructors

StandaloneTestSessionFactory({required WidgetTester tester, required EnsembleTestHarness harness, EnsembleTestConfig suiteConfig = const EnsembleTestConfig(), TestExecutionConfig? executionConfig})

Properties

executionConfig → TestExecutionConfig
final
harness → EnsembleTestHarness
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
suiteConfig → EnsembleTestConfig
final
tester → WidgetTester
final

Methods

create(TestSessionConfiguration config) → Future<TestExecutionSession>
override
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