test_helpers

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteWithExit

func ExecuteWithExit(
	t *testing.T,
	name string,
	fnWithExit func(*testing.T),
	expectedExitCode int)

ExecuteWithExit helps testing cases where os.Exit(...) is called. For more information see: https://go.dev/talks/2014/testing.slide#23

Types

This section is empty.

Jump to

Keyboard shortcuts

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