Versions in this module Expand all Collapse all v1 v1.9.0 Dec 14, 2022 Changes in this version + func IgnoreMissedCoverage() + func Run(t *testing.T, p Params) + func RunMain(m TestingM, commands map[string]func() int) (exitCode int) + func RunT(t T, p Params) + type Env struct + Cd string + Values map[interface{}]interface{} + Vars []string + WorkDir string + func (e *Env) Defer(f func()) + func (e *Env) Getenv(key string) string + func (e *Env) Setenv(key, value string) + func (e *Env) T() T + type Params struct + Cmds map[string]func(ts *TestScript, neg bool, args []string) + Condition func(cond string) (bool, error) + Dir string + IgnoreMissedCoverage bool + RequireExplicitExec bool + Setup func(*Env) error + TestWork bool + UpdateScripts bool + WorkdirRoot string + type T interface + FailNow func() + Fatal func(...interface{}) + Log func(...interface{}) + Parallel func() + Run func(string, func(T)) + Skip func(...interface{}) + Verbose func() bool + type TFailed interface + Failed func() bool + type TestScript struct + func (ts *TestScript) BackgroundCmds() []*exec.Cmd + func (ts *TestScript) Check(err error) + func (ts *TestScript) Defer(f func()) + func (ts *TestScript) Exec(command string, args ...string) error + func (ts *TestScript) Fatalf(format string, args ...interface{}) + func (ts *TestScript) Getenv(key string) string + func (ts *TestScript) Logf(format string, args ...interface{}) + func (ts *TestScript) MkAbs(file string) string + func (ts *TestScript) ReadFile(file string) string + func (ts *TestScript) Setenv(key, value string) + func (ts *TestScript) Value(key interface{}) interface{} + type TestingM interface + Run func() int