catalogtest

package
v0.0.6 Latest Latest
Warning

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

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

Documentation

Overview

Package catalogtest is the catalog contract suite: the behaviors every catalog.Catalog implementation must exhibit, run against fabriqtest.FakeCatalog (unit) and the Postgres control store (integration) — the conformance-kit discipline: drift between fake and adapter is a failing test.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, factory Factory)

Run executes the full contract against the implementation.

Types

type Factory

type Factory func(t *testing.T) catalog.Catalog

Factory returns a fresh, empty catalog per test.

Jump to

Keyboard shortcuts

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