tests

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 17, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPublishingBenchmark

func NewPublishingBenchmark(p message.Publisher) func(*testing.B)

func NewSubscriptionBenchmark

func NewSubscriptionBenchmark(s message.Subscriber) func(*testing.B)

func OfficialImplementationAcceptance

func OfficialImplementationAcceptance(fixture PubSubFixture) func(t *testing.T)

func TestBasicSendRecieve

func TestBasicSendRecieve(setup PubSubFixture) func(t *testing.T)

func TestHungOperations

func TestHungOperations(setup PubSubFixture) func(t *testing.T)

func TestOnePublisherThreeSubscribers

func TestOnePublisherThreeSubscribers(setup PubSubFixture, messageCount int) func(t *testing.T)

Types

type PubSubFixture

type PubSubFixture func(t *testing.T, consumerGroup string) (message.Publisher, message.Subscriber)

func (PubSubFixture) WithConsumerGroup

func (f PubSubFixture) WithConsumerGroup(consumerGroup string) func(t *testing.T) (message.Publisher, message.Subscriber)

Jump to

Keyboard shortcuts

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