Package testtask implements a portable set of commands useful as stand-ins for user tasks.
func Run() bool
Run interprets os.Args as a testtask script if the current program was launched with an environment configured by SetCmdEnv or SetTaskEnv. It returns false if the environment was not set by this package.
SetCmdEnv configures the environment of cmd so that Run executes a testtask script when called from within cmd.
func SetTaskConfigEnv ¶
SetTaskConfigEnv configures the environment of t so that Run executes a testtask script when called from within t.