entry/test_entry_environment library

Shared environment and reporting boundary for test entry points.

Keeping dart-define decoding and machine report emission here ensures the widget and application entry points interpret the same launch contract.

Functions

emitMachineTestReport(EnsembleTestRunResult result) → void
Emits the machine-readable report using the launch environment contract.
emitTestProgressComplete(EnsembleTestDefinition definition, EnsembleSingleTestResult result) → void
Publishes a completed test case to the CLI progress stream.
emitTestProgressStart(EnsembleTestDefinition definition) → void
Publishes a case-start event through the same progress transport used by completion events. This keeps hosted and standalone entries observable by the same CLI watcher while a case is still running.
normalizedTestAssetPrefix(String value) → String
testInputsFromEnvironment() → Map<String, dynamic>
testProgressStartPayload(EnsembleTestDefinition definition, {DateTime? startedAt}) → Map<String, dynamic>
testSelectionFromEnvironment() → EnsembleTestSelection