Documentation ¶ Overview ¶ Package testutil provides disposable fixtures for deterministic tests. Index ¶ func SocketDir(t *testing.T) string 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. Source Files ¶ View all Source files socket.go Click to show internal directories. Click to hide internal directories.