Documentation
¶
Index ¶
- type CmdSource
- type Engine
- func (e *Engine) GetStderr() string
- func (e *Engine) GetStdout() string
- func (e *Engine) Run(t *testing.T, command ...CmdSource) error
- func (e *Engine) RunAndCapture(t *testing.T, command ...CmdSource) (string, error)
- func (e *Engine) RunBackground(t *testing.T, command ...CmdSource) error
- func (e *Engine) SetFailOnError(failOnError bool)
- func (e *Engine) Stop(t *testing.T) error
- func (e *Engine) StopWithError() error
- type Options
- type SliceCmd
- type StringCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewEngineWithOptions ¶
func (*Engine) RunAndCapture ¶
func (*Engine) RunBackground ¶
func (*Engine) SetFailOnError ¶
func (*Engine) StopWithError ¶
type Options ¶
func DefaultEngineOptions ¶
func DefaultEngineOptions() Options
Click to show internal directories.
Click to hide internal directories.