# Functions

BeASymlink asserts that a file is a symlink and the link points to a given target.
CopyDirectory copies source to destination recursively.
CopyFile copies source to destination.
CopySymlink copies source to destination.
HaveAppendBuildEnvironment tests that a layer has an append build environment variable with the expected content.
HaveAppendLaunchEnvironment tests that a layer has an append launch environment variable with the expected content.
HaveAppendSharedEnvironment tests that a layer has an append shared environment variable with the expected content.
HaveApplicationMetadata tests that an application metadata has expected content.
HaveContent tests that a file has expected content.
HaveContent tests that a file has expected content.
HaveDefaultBuildEnvironment tests that a layer has a default build environment variable with the expected content.
HaveDefaultLaunchEnvironment tests that a layer has a default launch environment variable with the expected content.
HaveDefaultSharedEnvironment tests that a layer has a default shared environment variable with the expected content.
HaveDelimiterBuildEnvironment tests that a layer has a delimiter for a build environment variable with the expected content.
HaveDelimiterLaunchEnvironment tests that a layer has a delimiter for a launch environment variable with the expected content.
HaveDelimiterSharedEnvironment tests that a layer has a delimiter for a shared environment variable with the expected content.
HaveLayerMetadata tests that a layer has a specific metadata configuration.
HaveLayerVersion tests that a layer has a specific version.
HaveOverrideBuildEnvironment tests that a layer has an override build environment variable with the expected content.
HaveOverrideLaunchEnvironment tests that a layer has an override launch environment variable with the expected content.
HaveOverrideSharedEnvironment tests that a layer has an override shared environment variable with the expected content.
No description provided by the author
HavePersistentMetadata tests that an persistent metadata has expected content.
HavePlans tests that a set of plans is returned from detect.
HavePrependBuildEnvironment tests that a layer has a prepend build environment variable with the expected content.
HavePrependLaunchEnvironment tests that a layer has a prepend launch environment variable with the expected content.
HavePrependPathBuildEnvironment tests that a layer has a prepend path build environment variable with the expected content.
HavePrependPathLaunchEnvironment tests that a layer has a prepend path launch environment variable with the expected content.
HavePrependPathSharedEnvironment tests that a layer has a prepend path shared environment variable with the expected content.
HavePrependSharedEnvironment tests that a layer has a prepend shared environment variable with the expected content.
HaveProfile tests that a layer has a profile.d file with the expected content.
NewBuildFactory creates a new instance of BuildFactory.
NewDetectFactory creates a new instance of DetectFactory.
ReplaceEnv replaces an environment variable.
ScratchDir returns a safe scratch directory for tests to modify.
TouchFile writes a zero-length file during testing.
WriteFile writes a file during testing.
WriteFileFromReader writes a file with the given content from a io.Reader.
WriteFileWithPerm writes a file with specific permissions during testing.
WriteSymlink creates newName as a symbolic link to oldName.

# Structs

BuildFactory is a factory for creating a test Build.
No description provided by the author
DetectFactory is a factory for creating a test Detect.
Runner is an implementation of helper.Runner that collects commands and returns output.