Adapter-neutral Definition Store conformance checks.
Store implementations can call this module from their own test suites. It checks immutable publication, duplicate idempotency, verified read-back, and optional read-after-restart using only the public Store boundary and without depending on ExUnit in production code.
Summary
Functions
Verifies that a durable adapter configuration still resolves the same artifact after its process or connection has been recreated.
Runs the common publication and read-back contract.
Types
Functions
@spec read_after_restart( Spectre.Definition.Store.config(), Spectre.Definition.Store.config(), String.t(), keyword() ) :: :ok | {:error, term()}
Verifies that a durable adapter configuration still resolves the same artifact after its process or connection has been recreated.
@spec run( Spectre.Definition.Store.config(), Spectre.Definition.Canonical.t(), Spectre.Definition.Manifest.t(), keyword() ) :: {:ok, report()} | {:error, term()}
Runs the common publication and read-back contract.