memtest

package
v3.2.0-rc.1 Latest Latest
Warning

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

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

Documentation

Overview

Package memtest provides the shared conformance test suite that every pkg/memory.Backend implementation (InMemory, Memory Bank, SQLite FTS5, and external adapters) must pass.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunConformance

func RunConformance(t *testing.T, newBackend Factory)

RunConformance executes the full Backend contract suite against newBackend.

Types

type Factory

type Factory func(t *testing.T) memory.Backend

Factory constructs a fresh Backend instance for a conformance subtest and registers any cleanup via t.Cleanup.

Jump to

Keyboard shortcuts

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