Help us shape the future of Go! Take the 2026 Go Developer Survey

proposalconformance

package
v0.18.0 Latest Latest
Warning

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

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

Documentation

Overview

Package proposalconformance validates ProposalRepository implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

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

func RunDistributed added in v0.14.0

func RunDistributed(t *testing.T, newFixture DistributedFixture)

RunDistributed adds cross-client and cross-server-instance checks to the complete ProposalRepository contract.

Types

type DistributedFactory added in v0.14.0

type DistributedFactory func(*testing.T) learning.ProposalRepository

DistributedFactory opens an independent client/server-instance view over one shared repository backend. Versions must remain opaque across every view.

type DistributedFixture added in v0.14.0

type DistributedFixture func(*testing.T) DistributedFactory

DistributedFixture creates one shared backend and returns a factory for independent views over it.

type Factory

type Factory func(*testing.T) learning.ProposalRepository

Jump to

Keyboard shortcuts

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