pubsub_test_helper

package
v0.0.0-...-35a4376 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestPubSub

func TestPubSub(
	ctx context.Context,
	tb testing.TB,
	subscriber pubsub.Subscriber,
	publisher pubsub.Publisher,
	subject,
	consumer string,
	numberOfMessages int,
)

func TestPublishPanic

func TestPublishPanic(
	ctx context.Context,
	tb testing.TB,
	publisher pubsub.Publisher,
	subject string,
)

func TestSubscribePanic

func TestSubscribePanic(
	ctx context.Context,
	tb testing.TB,
	subscriber pubsub.Subscriber,
	publisher pubsub.Publisher,
	subject,
	consumer string,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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