Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildNevaBinary ¶ added in v0.36.1
BuildNevaBinary builds the neva CLI binary from repo root and returns its path.
func FindRepoRoot ¶ added in v0.34.0
FindRepoRoot finds the repository root using go env GOMOD.
func PrepareIsolatedNevaHome ¶ added in v0.36.1
PrepareIsolatedNevaHome creates an isolated Neva home and wires the local stdlib into it.
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.