storecontract

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package storecontract is the shared conformance suite for the store port (ADR-0006). RunContract asserts the store SEMANTICS that must hold identically for every Engine — memory and badger run it, proving the in-memory fake behaves like the real engine (the driver-conformance-parity scenario).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunContract

func RunContract(t *testing.T, newStore func(t *testing.T) store.Store)

RunContract runs the engine-agnostic store scenarios against a Store built by newStore. newStore must return a fresh, empty store on each call.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL