storetest

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: GPL-2.0, GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package storetest provides shared contract test suites for api.Store implementations. Both the real store.DB and test fakes (NopStore, MemStore) should pass these suites to verify behavioral parity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Suite

func Suite(t *testing.T, newStore func(t *testing.T) api.Store)

Suite runs behavioral contract cases against any api.Store implementation. It verifies basic roundtrip guarantees and no-error invariants.

Types

This section is empty.

Jump to

Keyboard shortcuts

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