Documentation ¶
Index ¶
- Variables
- func CaptureOutput(fn func()) (out string)
- func CreateTmpHome() string
- func ExpectContains(t *testing.T, actual string, expected string)
- func ExpectEquals(t *testing.T, a interface{}, b interface{})
- func ExpectMatches(t *testing.T, actual string, expected string)
- func FakeUpdate(home string)
Constants ¶
This section is empty.
Variables ¶
View Source
var HelmRoot = filepath.Join(os.Getenv("GOPATH"), "src/github.com/helm/helm/")
HelmRoot - dir root of the project
Functions ¶
func CaptureOutput ¶
func CaptureOutput(fn func()) (out string)
CaptureOutput redirect all log/std streams, capture and replace
func CreateTmpHome ¶
func CreateTmpHome() string
CreateTmpHome create a temporary directory for $HELM_HOME
func ExpectContains ¶
ExpectContains assert b is contained within a
func ExpectEquals ¶
ExpectEquals assert a == b
func ExpectMatches ¶
ExpectMatches assert a ~= b
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.