Documentation ¶
Index ¶
Constants ¶
View Source
const ( // A comma-delimited list of target IDs to fail on. FailTargetsParam = "FailTargets" // Alternatively, fail this percentage of targets at random. FailPctParam = "FailPct" // A comma-delimited list of target IDs to delay and by how much, ID=delay_ms. DelayTargetsParam = "DelayTargets" )
Variables ¶
View Source
var Events = []event.Name{StartedEvent, FinishedEvent, FailedEvent, StepRunningEvent, StepFinishedEvent}
View Source
var Name = "Test"
Functions ¶
Types ¶
type Step ¶
type Step struct {
// contains filtered or unexported fields
}
func (*Step) Run ¶
func (ts *Step) Run(ctx xcontext.Context, ch test.TestStepChannels, params test.TestStepParameters, ev testevent.Emitter, resumeState json.RawMessage) (json.RawMessage, error)
Run executes the example step.
func (*Step) ValidateParameters ¶
ValidateParameters validates the parameters associated to the TestStep
Click to show internal directories.
Click to hide internal directories.