Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustNotDone ¶
func MustNotDone(cmd *blockingCmd, f func())
MustNotDone executes a function after checking whether the context is canceled. If the context is canceled a test failure is registered, halting all tests.
func WhenNotDone ¶
func WhenNotDone(cmd *blockingCmd, f func())
WhenNotDone executes a function after checking whether the context is canceled. If the context is canceled a test error is registered and returned.
Types ¶
type BlockingCmdResults ¶
type BlockingCmdResults struct {
// contains filtered or unexported fields
}
func (*BlockingCmdResults) ExitCode ¶
func (blockingCmd *BlockingCmdResults) ExitCode() int
func (*BlockingCmdResults) Stderr ¶
func (blockingCmd *BlockingCmdResults) Stderr() []string
func (*BlockingCmdResults) Stdout ¶
func (blockingCmd *BlockingCmdResults) Stdout() []string
type Cmd ¶
type Results ¶
func WithBlockingCmdObj ¶
Click to show internal directories.
Click to hide internal directories.