testutil

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package testutil provides disposable fixtures for deterministic tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SocketDir

func SocketDir(t *testing.T) string

SocketDir avoids t.TempDir's test-name prefix, which can exceed the Unix socket path limit beneath macOS's long temporary directory. The directory is private and removed only after the test's later-registered server cleanups have run.

Types

This section is empty.

Jump to

Keyboard shortcuts

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