testutil

package
v0.0.0-...-290108d Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package testutil provides utilities for using the event monitor in tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartEventMonitor

func StartEventMonitor(tb testing.TB, callback PreStartCallback)

StartEventMonitor creates and starts an event monitor for use in tests

Types

type PreStartCallback

type PreStartCallback func(tb testing.TB, evm *eventmonitor.EventMonitor)

PreStartCallback is a callback to register clients to the event monitor before starting it

Jump to

Keyboard shortcuts

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