randecho

package
v0.0.0-...-aac4589 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 10 Imported by: 0

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 = "RandEcho"

Name is the name used to look this plugin up.

Functions

func Load

func Load() (string, test.TestStepFactory, []event.Name)

Load returns the name, factory and events which are needed to register the step.

func New

func New() test.TestStep

New initializes and returns a new RandEcho. It implements the TestStepFactory interface.

Types

type Step

type Step struct{}

Step implements an echo-style printing plugin.

func (Step) Name

func (e Step) Name() string

Name returns the name of the Step

func (Step) Run

Run executes the step

func (Step) ValidateParameters

func (e Step) ValidateParameters(_ xcontext.Context, params test.TestStepParameters) error

ValidateParameters validates the parameters that will be passed to the Run and Resume methods of the test step.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL