Skip to main content

Module conformance

Module conformance 

Source
Expand description

Contract tests for the blob leaves whose written contract sequential calls can decide.

certify runs each leaf’s test on the target, on a correct reference backend (the positive control: the test can pass) and on reference backends with a Defect (the known-bad control: the test can fail). A leaf is recorded on only when the target passed and both controls behaved. Anything else is an off row with the reason.

Structs§

Certified
The outcome of certifying one leaf.

Enums§

Failure
Why a leaf’s test did not pass.
Leaf
A leaf this module can decide.

Functions§

certify
Run every leaf here against target and return one row per leaf.
certify_leaves
As certify, for the listed leaves only (each with its controls).
run_leaf
Run one leaf’s test against b. Writes only under persistant-conformance/<leaf>/.