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

fixturetree

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package fixturetree is the command tree behind the binding test fixture: a real Cobra CLI that reports the argv it parsed, exits with chosen codes, floods output, sleeps, and spawns a grandchild so descendant cleanup can be observed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Root

func Root() *cobra.Command

Root builds the fixture's command tree. The binding tests snapshot this same tree in-process and execute the built binary against it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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