Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindRepoRoot ¶ added in v0.34.0
FindRepoRoot finds the repository root using go env GOMOD.
func Run ¶
Run executes the neva command with the given arguments and options. It returns captured stdout and stderr separately. The working directory is os.Getwd() (relies on go test running each package with cwd at that package). Most tests can ignore stderr: `out, _ := e2e.Run(...)` Tests that need stderr (e.g., panic cases) can use: `out, stderr := e2e.Run(...)` and combine if needed.
Types ¶
type Option ¶ added in v0.34.0
type Option func(*config)
Option configures Run behavior.
func WithTimeout ¶ added in v0.35.0
WithTimeout sets the maximum command execution time.
Click to show internal directories.
Click to hide internal directories.