Rulvar API reference / @rulvar/store-conformance / ConformanceSuite
Interface: ConformanceSuite
Defined in: packages/store-conformance/src/types.ts:14
@rulvar/store-conformance: the executable store conformance kit (M2-T11, DEF-4). A store implementation passes journalStoreConformance (and leasableStoreConformance when it has the lease capability, fencedWritesConformance when it declares the fencedWrites promise, and fencedTranscriptsConformance when its transcript store declares the same promise) or it is not a Rulvar store; the kit is the executable definition of the storage seam frozen at 1.0. Stores meant for multi-process queue deployments additionally run the adversarial multi-process soak (runMultiProcessSoak: real OS processes storm one store location through every fenced write surface and the referee diffs the state against the serial history the epochs promise) and the engine-level kill-point suite (killPointConformance: a child process SIGKILLs itself around each durable write of a scripted run, and the referee resumes over the same store asserting the documented recovery semantics, re-pay counts included).
Usage under Vitest:
const suite = journalStoreConformance(() => new MyStore()); registerConformance(suite, { describe, it });
Public docs: https://docs.rulvar.com/guide/stores (conformance obligations) and https://docs.rulvar.com/guide/testing (conformance tier).
Properties
| Property | Type | Defined in |
|---|---|---|
checks | readonly ConformanceCheck[] | packages/store-conformance/src/types.ts:16 |
name | string | packages/store-conformance/src/types.ts:15 |
Methods
run()
run(): Promise<void>;Defined in: packages/store-conformance/src/types.ts:18
Runs every check sequentially; throws on the first violation.
Returns
Promise<void>