Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugRunProcess ¶
func RunProcess ¶
RunProcess checking if testing is called in NewProcess, if true, then call the function f and returns true, you should return current testing t function after call CanExec.
Types ¶
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
func NewProcess ¶
NewProcess fork a subprocess runs current testing t function.
func (*Process) IsRunning ¶
IsRunning returns true if testing subprocess is running, otherwise returns false.
func (*Process) Output ¶
Output acquires the subprocess stdout and stderr output after Start called.
Click to show internal directories.
Click to hide internal directories.