conformance

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package conformance provides the reusable black-box contract suite for Ridu document-store adapters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

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

Run executes the shared semantic contract for one adapter. Adapter packages should invoke Run from their own tests so their ordinary integration setup remains responsible for schema creation and external-service availability.

Types

type Factory

type Factory func(t *testing.T, manifest schema.Manifest) store.Store

Factory opens a clean store prepared for manifest. Implementations should register cleanup with t and fail the current test when setup cannot finish.

Jump to

Keyboard shortcuts

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