Help us shape the future of Go! Take the 2026 Go Developer Survey

staterecordtest

package
v0.32.0 Latest Latest
Warning

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

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

Documentation

Overview

Package staterecordtest is the staterecord.Store contract as a test suite, exported so that any store, in this module or another, can be held to exactly what choudoufu's own stores are (GitHub issue #2281).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunConformance

func RunConformance(t *testing.T, newStore func(t *testing.T) staterecord.Store)

RunConformance exercises the staterecord.Store contract every implementation must satisfy identically, regardless of what backs it. newStore returns a fresh, empty Store for each subtest, so cases never interact with each other's keys.

Types

This section is empty.

Jump to

Keyboard shortcuts

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