statetest

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package statetest is the conformance suite for state.Provider. Every backend (the in-memory default, SQLite, a host's Postgres) runs RunSuite and must behave identically, so the durable providers are held to byte-for-byte the same contract as the reference in-memory one rather than re-tested by hand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSuite

func RunSuite(t *testing.T, newProvider func() state.Provider)

RunSuite runs the full state.Provider contract against providers built by newProvider. Each subtest gets a fresh provider.

Types

This section is empty.

Jump to

Keyboard shortcuts

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