Documentation ¶
Index ¶
Constants ¶
View Source
const (
TestBasePath = "../build/test"
)
Global tests constants
Variables ¶
This section is empty.
Functions ¶
func CopyFileToAbsPath ¶
CopyFileToAbsPath function to copy one file to an absolute path
func ExecSysCommand ¶
ExecSysCommand function to executeone command in the system
func GetAbsPath ¶
GetAbsPath function to get an absolute path from a relative path
func RemoveAbsPath ¶
func RemoveAbsPath(path string)
RemoveAbsPath function to remove one absolute path
Types ¶
type TestCmdCtx ¶
type TestCmdCtx struct {
// contains filtered or unexported fields
}
TestCmdCtx struct
func NewTestCmdCtx ¶
func NewTestCmdCtx() *TestCmdCtx
NewTestCmdCtx function to get a new TestCmdCtx instance
func (*TestCmdCtx) CloseOutCapture ¶
func (testCmdCtx *TestCmdCtx) CloseOutCapture(logResults bool, limit int) (result string, errResult string)
CloseOutCapture method to close the stdout and stderr capture and get the results
func (*TestCmdCtx) OpenOutCapture ¶
func (testCmdCtx *TestCmdCtx) OpenOutCapture()
OpenOutCapture method to open a new stdout and stderr capture
Click to show internal directories.
Click to hide internal directories.