Help us shape the future of Go! Take the 2026 Go Developer Survey

envtest

package
v0.17.4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package envtest is the shared conformance suite for harness.FileSystem port implementations (DECISIONS.md P10). Expectations are those of harness.NodeExecutionEnv, the reference port of upstream NodeExecutionEnv.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestFileSystem

func TestFileSystem(t *testing.T, newFS func(t *testing.T) harness.FileSystem)

TestFileSystem runs the conformance suite. newFS must return a fresh file system whose working directory is an existing, empty, writable directory.

Types

type Symlinker

type Symlinker interface {
	Symlink(ctx context.Context, target, link string) error
}

Symlinker is the optional capability of backends that can create symbolic links; the suite runs its symlink checks only against such backends.

Jump to

Keyboard shortcuts

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