Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Events = []event.Name{}
Events defines the events that a TestStep is allow to emit
View Source
var Name = "TerminalExpect"
Name is the name used to look this plugin up.
Functions ¶
Types ¶
type TerminalExpect ¶
TerminalExpect reads from a terminal and returns when the given Match string is found on an output line.
func (*TerminalExpect) Run ¶
func (ts *TerminalExpect) Run(ctx xcontext.Context, ch test.TestStepChannels, params test.TestStepParameters, ev testevent.Emitter, resumeState json.RawMessage) (json.RawMessage, error)
Run executes the terminal step.
func (*TerminalExpect) ValidateParameters ¶
func (ts *TerminalExpect) ValidateParameters(_ xcontext.Context, params test.TestStepParameters) error
ValidateParameters validates the parameters associated to the TestStep
Click to show internal directories.
Click to hide internal directories.