Expand description
FakeProvider — the deterministic, programmable reference implementation of the SPI (04 §8): an in-memory world model with scripted outcomes and fault injection. It is both the conformance suite’s reference subject and the runner’s E2E test double.
Determinism: timestamps come from a logical millisecond clock, observation/asset ids from counters, and event sequences from a monotonic counter — no wall clock, no randomness.
Structs§
- Fake
Handle - A cheap, clonable handle into the fake’s world for programming and inspection from tests (fault injection, recorded-state assertions).
- Fake
Provider - Deterministic, programmable SPI reference implementation (04 §8).
- Fake
Provider Session - A session over the fake world. See
FakeProvider.
Enums§
- Scripted
Outcome - One scripted execute behavior (
crate::spi::ProviderSession::execute), consumed front-to-back from the script queue.