testutil

package
v1.0.0-rc.1 Latest Latest
Warning

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

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

Documentation

Overview

Package testutil provides test utilities for OpenTelemetry tracing tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireAttribute

func RequireAttribute(t *testing.T, attrs []attribute.KeyValue, key string, expected interface{})

RequireAttribute asserts that an attribute with the given key exists and has the expected value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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