Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDir ¶
func CreateDir(path string)
CreateDir creates an empty directory at a given path, also creating it's parent directories if needed. Loudly fails if anything goes wrong.
func CreateFile ¶
func CreateFile(path string)
CreateFile creates an empty regular file at a given path, also creating it's parent directories if needed. Loudly fails if anything goes wrong.
func CreateFileWithContent ¶
CreateFileWithContent creates a regular file at a given path with given content, also creating it's parent directories if needed. Loudly fails if anything goes wrong.
func ExecuteEachInTempDir ¶
func ExecuteEachInTempDir()
ExecuteEachInTempDir makes Ginkgo run each test in given context in temporary directory, which is cleaned up after each test run.
func ExecuteEachWithHostName ¶
func ExecuteEachWithHostName(hostName string)
ExecuteEachWithHostName makes Ginkgo run each test in give context with HOST enviroment variable assigned to a given string. HOST is restored to its original value after each test run.
Types ¶
This section is empty.