Skip to main content

Module compile

Module compile 

Source
Expand description

Generate the test layer and launch description for one game session.

Protocol v2 extends the v1 runner contract (same environment variables and bundle role) with several cases per session, per-clause checks, fixture checks and multi-step cases. Each case logs engine EVENT lines FOCH_TEST_V2 <run> <session digest> c<index> <record>, where a record is BEGIN, PASS <check>, FAIL <check> or END.

Structs§

Bundle
Everything one game session needs. Files are relative to a fresh bundle directory; the caller writes them and launches the runner.
CaseWindow
When a case begins and ends inside the session.
CompileError
Launch
PlannedCheck
A check the log must report, on the given engine date, in plan order.
Requirements
RunContext
RunnerCapabilities
What a runner declares it can provide.
Unsupported

Enums§

CheckKind

Constants§

PROTOCOL_VERSION

Functions§

check_capabilities
A runner that lacks a required capability must be refused, never asked to approximate it.
compile