conformance

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package conformance is the suite every adapter of the crdt port must pass. It holds an adapter to what the port promises: saves round-trip, a reconcile is minimal and idempotent, identified list items keep their identity, sentences merge character by character, concurrent writes are kept as conflicts, and any number of replicas converge however their sync messages are lost, repeated, reordered or partitioned.

Every random choice comes from a seed, so a failure reproduces. Actors are random by design, so which concurrent write wins varies from run to run; the suite asserts only what holds whichever wins.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, newEngine func(t *testing.T) crdt.Engine)

Run exercises an adapter. newEngine returns a fresh engine, closed by the caller's cleanup.

Types

This section is empty.

Jump to

Keyboard shortcuts

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