Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "redis"
Name of executor
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Args []interface{} `json:"args,omitempty" yaml:"args,omitempty"` Response interface{} `json:"response,omitempty" yaml:"response,omitempty"` }
Command represents a redis command and the result
type Executor ¶
type Executor struct { Commands []string `json:"commands,omitempty" yaml:"commands,omitempty"` FilePath string `json:"path,omitempty" yaml:"path,omitempty" mapstructure:"path"` }
Executor represents the redis executor
func (Executor) GetDefaultAssertions ¶
func (e Executor) GetDefaultAssertions() venom.StepAssertions
GetDefaultAssertions return the default assertions of the executor.
func (Executor) Run ¶
func (Executor) Run(testCaseContext venom.TestCaseContext, l venom.Logger, step venom.TestStep, workdir string) (venom.ExecutorResult, error)
Run execute TestStep
func (Executor) ZeroValueResult ¶
func (Executor) ZeroValueResult() venom.ExecutorResult
ZeroValueResult return an empty implemtation of this executor result
Click to show internal directories.
Click to hide internal directories.