Documentation ¶ Index ¶ func NewTestApp(t *testing.T, tt *Harness, cmd *cli.Command) *cli.App func Run(t *testing.T, tt *Harness, handler http.Handler, ...) func RunContext(ctx context.Context, t *testing.T, tt *Harness, handler http.Handler, ...) func TestMain(m *testing.M) type Harness Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewTestApp ¶ func NewTestApp(t *testing.T, tt *Harness, cmd *cli.Command) *cli.App func Run ¶ func Run(t *testing.T, tt *Harness, handler http.Handler, cmd func(*testing.T, string) *cli.Command) func RunContext ¶ func RunContext(ctx context.Context, t *testing.T, tt *Harness, handler http.Handler, cmd func(*testing.T, string) *cli.Command) func TestMain ¶ func TestMain(m *testing.M) Types ¶ type Harness ¶ type Harness struct { Name, Err string Args []string Counters map[string]int Before cli.BeforeFunc After cli.AfterFunc Action cli.ActionFunc } Source Files ¶ View all Source files harness.go Directories ¶ Show internal Expand all Path Synopsis blackhole Click to show internal directories. Click to hide internal directories.