Skip to main content

Module scenarios

Module scenarios 

Source
Expand description

Named scenarios: small compositions of the control primitives, exposed as one command.

A scenario earns its place only by composing something data alone cannot express โ€” an armed fault โ€” or by being a hands-free dev demo; per-spec fixtures come from the seed instead.

Each writes the course unit for its courseCode whole, so its caller has to own that course code, and returns the identifiers it minted plus the scope its rows are ticked with.

Structsยง

ScenarioArgs

Constantsยง

ACCEPTOR_PERSON_ID ๐Ÿ”’
PASS_FAIL_SCALE ๐Ÿ”’
SCENARIOS

Functionsยง

apply
arm ๐Ÿ”’
course_code ๐Ÿ”’
ensure_course ๐Ÿ”’
A five-credit pass/fail realisation with an acceptor: the scenarios differ in the fault they arm, not in their data.
merge ๐Ÿ”’
plain ๐Ÿ”’
put_enrolment ๐Ÿ”’
put_person ๐Ÿ”’
string_field ๐Ÿ”’
timeout ๐Ÿ”’
sisuTimeout after the write leaves the world indistinguishable from a successful import, which is the case a client cannot resolve without verifying.