Documentation ¶ Index ¶ func JoinArgs(parts []string) string func NewDeps(t *testing.T, runner *Runner) (*cache.MetadataCache, *naming.Resolver, *doctype.Registry) type Runner func (m *Runner) Path() string func (m *Runner) Run(ctx context.Context, args ...string) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func JoinArgs ¶ func JoinArgs(parts []string) string func NewDeps ¶ func NewDeps(t *testing.T, runner *Runner) (*cache.MetadataCache, *naming.Resolver, *doctype.Registry) Types ¶ type Runner ¶ type Runner struct { Out []byte LastArgs []string Calls [][]string RunFn func(context.Context, ...string) ([]byte, error) } func (*Runner) Path ¶ func (m *Runner) Path() string func (*Runner) Run ¶ func (m *Runner) Run(ctx context.Context, args ...string) ([]byte, error) Source Files ¶ View all Source files testutil.go Click to show internal directories. Click to hide internal directories.