Versions in this module Expand all Collapse all v2 v2.0.1 Jan 24, 2020 Changes in this version + func Argument(index int) (string, error) + func DirectoryContents(root string) ([]string, error) + func FileExists(file string) (bool, error) + func HaveContent(expected string) types.GomegaMatcher + func ProtectEnv(t *testing.T, keys ...string) func() + func ReplaceArgs(t *testing.T, args ...string) func() + func ReplaceEnv(t *testing.T, key string, value string) func() + func ReplaceWorkingDirectory(t *testing.T, dir string) func() + func ScratchDir(t *testing.T, prefix string) string + func TouchTestFile(t *testing.T, elem ...string) + func WriteFile(filename string, perm os.FileMode, format string, args ...interface{}) error + func WriteTestFile(t *testing.T, filename string, format string, args ...interface{}) + func WriteTomlFile(filename string, perm os.FileMode, value interface{}) error + type Console struct + func ReplaceConsole(t *testing.T) (Console, func()) + func (c Console) Err(t *testing.T) string + func (c Console) In(t *testing.T, string string) + func (c Console) Out(t *testing.T) string Other modules containing this package github.com/buildpack/libbuildpack