bustest

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package bustest is the conformance suite for bus.Bus. Every backend (the in-process MemoryBus default, a NATS adapter, a host's broker) runs RunSuite and must behave identically, so an opt-in broker is held to the exact pub/sub, subject-matching, ordering, and lifecycle contract of the reference MemoryBus rather than re-tested by hand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSuite

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

RunSuite runs the full bus.Bus contract against buses built by newBus. Each subtest gets a fresh bus, closed at the end of the subtest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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