Documentation
¶
Overview ¶
Package utils provides utility functions for e2e testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNonEmptyLines ¶
GetNonEmptyLines converts given command output string into individual objects according to line breakers, and ignores the empty elements in it.
func GetProjectDir ¶
GetProjectDir will return the directory where the project is.
func RunStreaming ¶ added in v0.53.0
RunStreaming is Run for a long command: it also copies the output to GinkgoWriter as it comes. Run collects the output and hands it over when the command ends, so a command the suite timeout kills leaves nothing behind; a timed-out node's report carries what GinkgoWriter received, which then shows where the command stopped.
func UncommentCode ¶
UncommentCode searches for target in the file and remove the comment prefix of the target content. The target content may span multiple lines.
Types ¶
This section is empty.