memorytest

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package memorytest is the conformance suite for state.MemoryStore. Every backing (the in-memory resource store, the SQLite resource store, a host's) runs RunSuite and must behave identically, so the typed memory facade is held to one contract no matter which resource backend it sits on.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSuite

func RunSuite(t *testing.T, newStore func() state.MemoryStore)

RunSuite runs the full MemoryStore contract against stores built by newStore. Each subtest gets a fresh, empty store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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