StoreDifferentialTckOptions
@rotorsoft/act-root / act-tck/src / StoreDifferentialTckOptions
Type Alias: StoreDifferentialTckOptions
StoreDifferentialTckOptions =
object
Defined in: libs/act-tck/src/store-differential-tck.ts:66
Options for runStoreDifferentialTck.
Propertiesโ
nameโ
readonlyname:string
Defined in: libs/act-tck/src/store-differential-tck.ts:68
Display name for the differential suite.
piiIsolation?โ
readonlyoptionalpiiIsolation?:boolean
Defined in: libs/act-tck/src/store-differential-tck.ts:103
Whether the comparand adapters support the optional Store.forget_pii
surface (and the pii field on commit). When true, the workload
commits PII-bearing events and the differential asserts that
forget_pii wipes them identically across adapters. All in-tree
adapters implement it, so it defaults to true; a third-party store
that opts out sets it false. Default true.
runs?โ
readonlyoptionalruns?:number
Defined in: libs/act-tck/src/store-differential-tck.ts:94
How many independent randomized workloads to generate and compare,
each from a distinct seed (seed, seed + 1, โฆ, seed + runs - 1).
More runs widen the slice of the input space the differential
explores; fewer keep durable-adapter suites fast. Default 8.
seed?โ
readonlyoptionalseed?:number
Defined in: libs/act-tck/src/store-differential-tck.ts:82
Base PRNG seed. Workload r of StoreDifferentialTckOptions.runs
is built from seed + r, so the whole fuzz campaign is reproducible:
the same seed โ the same family of workloads โ any divergence is
deterministically replayable. Default 0xac7.
skip?โ
readonlyoptionalskip?:DifferentialSkips
Defined in: libs/act-tck/src/store-differential-tck.ts:110
Known-divergence gates โ see DifferentialSkips. Each flag suppresses the assertions a currently-filed bug makes red so the differential stays green until the fix merges. Default: nothing skipped.
storesโ
readonlystores:ReadonlyArray<DifferentialStore>
Defined in: libs/act-tck/src/store-differential-tck.ts:75
Two or more stores to drive in lockstep and compare. The first
entry is the reference; every other store's normalized output must
match it exactly. Pass InMemoryStore as the reference and the
durable adapter(s) as the comparands.
streams?โ
readonlyoptionalstreams?:number
Defined in: libs/act-tck/src/store-differential-tck.ts:87
Number of distinct event-bearing streams per workload.
Default 4.