entry/application_test_entry_support
library
Functions
-
capabilityStatus(ApplicationTestServices? services)
→ Map<String, bool>
-
-
captureHostStepReportArtifactsSafely({required WidgetTester tester, required EnsembleTestContext context, required LocalTestExecutionSession session, required TestStep step, required int stepIndex, required List<TestFailureDetails> secondaryFailures, Future<bool> prepareCapture()?, bool atCurrentFrame = false, ObservationDetailLevel observationDetail = ObservationDetailLevel.standard})
→ Future<bool>
-
-
captureHostStepScreenshotSafely({required WidgetTester tester, required EnsembleTestContext context, required AssertionEngine assertions, required NavigationTestService? navigation, required TestStep step, required int stepIndex, required List<TestFailureDetails> secondaryFailures, bool atCurrentFrame = false, ObservationDetailLevel observationDetail = ObservationDetailLevel.standard})
→ Future<void>
-
-
effectiveHostApiMocks(EnsembleTestContext context)
→ Map<String, MockAPIResponse>
-
Effective API mocks after suite + test composition (planner-merged).
-
ensembleApiOverlayAttached(EnsembleTestContext context)
→ bool
-
Whether Ensemble's HTTP provider currently carries the test API overlay.
-
ensureApplicationTestBinding(ExecutionMode mode)
→ void
-
Selects the test binding required by the resolved execution mode.
-
ensureHostFixturesSupported(EnsembleTestContext context, {ApplicationTestServices? services, bool requireResolved = false})
→ void
-
Rejects YAML mocks/fixtures that cannot attach to the application under test.
-
failureKind(Object? error, {TestApplicationHandle? handle})
→ TestFailureKind
-
-
hostDeclaresStorageFixtures(EnsembleTestContext context)
→ bool
-
True when the test or suite declares storage fixtures.
-
hostProcessServiceConfigs(List<TestServiceConfig> configured, {bool hostOwnsServices = const bool.fromEnvironment('ensembleTestHostOwnsServices')})
→ List<TestServiceConfig>
-
Services started inside the test process.
-
hostReport(EnsembleTestCase test, ApplicationTestServices? services, {List<int> stepDurationsMs = const [], List<String> stepStartTimes = const [], Map<String, Map<String, dynamic>> screens = const {}})
→ EnsembleTestReportDetails
-
-
prepareHostNavigationMatchCapture({required WidgetTester tester, required String? screen})
→ Future<bool>
-
Waits until a hosted navigation match has survived a paint opportunity.
Route notifications can precede the destination's first rendered frame;
returning false leaves the normal step-finished capture eligible.
-
recordHostScreenshotCaptureFailure({required Object error, required List<TestFailureDetails> secondaryFailures})
→ void
-
Keeps host screenshot failures secondary to the test outcome while
suppressing known render/capture diagnostics.
-
suiteDeclaresApiMocks(EnsembleTestConfig config)
→ bool
-
True when suite config.yaml declares API mocks (files or inline).
-
validateHostPlan(EnsembleTestExecutionPlan plan, ApplicationTestDriver driver)
→ void
-