testenv

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package testenv provides consistent process-environment isolation for tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunWithWingmanHome

func RunWithWingmanHome(run func() int) int

RunWithWingmanHome runs a package test suite with isolated Wingman state.

func UserHome

func UserHome(t testing.TB) string

UserHome gives a test an empty, isolated operating-system home directory.

func WingmanHome

func WingmanHome(t testing.TB) string

WingmanHome gives a test an empty, isolated WINGMAN_HOME directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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