internal

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL