Documentation ¶
Overview ¶
Package testutil contains various util functions for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CommandRunnerImpl is the command runner impl currently being used by the // package. Exists for testing purposes. CommandRunnerImpl cmd.CommandRunner = cmd.RealCommandRunner{} )
Functions ¶
func AssertContentsEqual ¶
AssertContentsEqual checks that there's no difference between two directories/files.
func AssertGitBranches ¶
AssertGitBranches asserts that the git repo has the given branches (it may have others, too).
func AssertGitBranchesExact ¶
AssertGitBranchesExact asserts that the git repo has only the correct branches.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.