Module fixture

Module fixture 

Source
Expand description

Cross-process suite fixture metadata.

Containers and per-test databases are short-lived mechanics. A migrated template database or schema snapshot is different: it is a suite-scoped product fixture that can be consumed by many nextest processes after its producer exits. This module owns only the locked, atomic metadata publication protocol; products own fixture names, contents, validation, and cleanup.

Structsยง

SuiteFixtureLock
Exclusive lock and atomic state file for one suite fixture.
SuiteFixtureState
Atomically published identity of a suite-scoped product fixture.