CONTENT CONTRACT · VERSION 1
Fixture
Isolated authoring test selecting a handler, frozen snapshot and exact expected response.
Signature
{ event: Event, expect: FixtureExpect, handler: FixtureHandler, id: Name, owner: OwnerRef, snapshot: FixtureSnapshot }Fields
| Name | Type | Meaning |
|---|---|---|
event | Event | Event kind or typed event payload selected by the handler declaration. |
expect | FixtureExpect | Expected typed handler response or classified script fault. |
handler | FixtureHandler | Definition that supplies the script, parameters and snapshot declaration. |
id | Name | Local fixture name, unique across the package test files. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
owner | OwnerRef | Resolved state owner for this invocation or snapshot entry. |
snapshot | FixtureSnapshot | Frozen values supplied to this isolated handler invocation. |