Documentation
¶
Index ¶
- func AppEngine(t *testing.T, paths config.Paths) *engine.Engine
- func CaptureOutput(t *testing.T, fn func()) (string, string)
- func Chdir(t *testing.T, dir string) func()
- func EnsurePaths(t *testing.T, paths config.Paths)
- func FindProfile(t *testing.T, list []engine.Profile, name string) engine.Profile
- func MustReadFile(t *testing.T, path string) []byte
- func MustWriteExecutable(t *testing.T, path, content string)
- func MustWriteFile(t *testing.T, path, content string)
- func NewTestApp(t *testing.T) *cli.App
- func Paths(root string) config.Paths
- func RunApp(t *testing.T, app *cli.App, args ...string) (int, string, string)
- func WithStdin(t *testing.T, input string, fn func())
- func WriteExecutable(t *testing.T, dir, name, body string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindProfile ¶
func MustWriteExecutable ¶
func MustWriteFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.