Versions in this module Expand all Collapse all v0 v0.8.1 May 21, 2026 Changes in this version + func AiwfBinary(t *testing.T) string + func BuildBinary(t *testing.T, tmp string, extraArgs ...string) string + func CaptureRun(t *testing.T, fn func() int) (rc int, stdout, stderr string) + func CaptureStderr(t *testing.T, fn func()) []byte + func CaptureStdout(t *testing.T, fn func()) []byte + func ExitedWithCode(err error, code int) bool + func ExtractRow(haystack, prefix string) string + func MustExec(t *testing.T, workdir, name string, args ...string) + func ReadFileT(t *testing.T, path string) string + func RunBin(t *testing.T, workdir, extraPath string, env []string, args ...string) (string, error) + func RunBinStdin(t *testing.T, workdir, extraPath string, stdin io.Reader, args ...string) (string, error) + func RunBinary(bin string, args ...string) (string, error) + func RunBinaryAt(workdir, bin string, args ...string) (string, error) + func RunGit(workdir string, args ...string) (string, error) + func SetupGitRepoWithUpstream(t *testing.T, email string) string + func SkipIfShortOrUnsupported(t *testing.T)