Provides reusable test suites that backend connector packages run to verify their Store
implementations satisfy the contracts defined by @grafctory/keep.
testStore covers resource and collection retrieval, conditional and unconditional writes, transaction
execution, mutation events, and lifecycle management.
Connectors call testStore with a StoreTestOptions object that provisions store instances and loads
them with the sample dataset. The suite states no retrieval scope on its lookups, so each store it
opens MUST take a default scope open to linked resources, whole collections and aggregates, as in the example.
Connector conformance test suite.
Provides reusable test suites that backend connector packages run to verify their Store implementations satisfy the contracts defined by
@grafctory/keep.testStore covers resource and collection retrieval, conditional and unconditional writes, transaction execution, mutation events, and lifecycle management.
Connectors call testStore with a StoreTestOptions object that provisions store instances and loads them with the sample dataset. The suite states no retrieval scope on its lookups, so each store it opens MUST take a default scope open to linked resources, whole collections and aggregates, as in the example.