Contents

expected

The scenario’s expectations as the report’s Expected column.

Declaration

var expected: SiriScenarioSubject.ScenarioReport? { get }

Discussion

One row per thing each expectation checks, keyed as the subject’s report keys it, so Xcode flags exactly the checks that failed. Built from the scenario alone, as EvalKit requires. nil when the scenario expects nothing.

See Also

Inspecting a scenario