buscontract

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package buscontract is the shared conformance suite for the bus.Bus port (ADR-0008). RunContract asserts the messaging semantics that must hold for every backend — memory and file storage run it, proving driver-conformance-parity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunContract

func RunContract(t *testing.T, newBus func(t *testing.T) bus.Bus)

RunContract runs the backend-agnostic bus scenarios against a Bus built by newBus. newBus must return a fresh bus on each call.

Types

This section is empty.

Jump to

Keyboard shortcuts

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