testutil

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package testutil provides test helpers with terminal output

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureOutput added in v1.1.0

func CaptureOutput(tb testing.TB, action func()) string

CaptureOutput captures stdout and stderr.

Types

This section is empty.

Jump to

Keyboard shortcuts

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