Discover Packages
github.com/777genius/agent-notifications
internal
testenv
package
Version:
v1.47.1
Opens a new window with list of versions in this module.
Published: Oct 4, 2026
License: GPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package testenv provides a complete disposable environment for filesystem tests.
Build retains only the caller's explicit Go toolchain/cache settings.
Env creates disposable paths and a process environment with platform essentials.
Set installs isolated paths and clears the explicit notification override.
Like testing.T.Setenv, it must not be used by parallel tests.
Values returns an allowlist suitable for child processes. It never inherits
credentials or host configuration. Callers add only required executable paths.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.