Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "exec"
Name for test exec
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor struct { Command []string `json:"command,omitempty" yaml:"command,omitempty"` Stdin *string `json:"stdin,omitempty" yaml:"stdin,omitempty"` Script *string `json:"script,omitempty" yaml:"script,omitempty"` }
Executor represents a Test Exec
func (Executor) GetDefaultAssertions ¶
func (Executor) GetDefaultAssertions() *venom.StepAssertions
GetDefaultAssertions return default assertions for type exec
func (Executor) ZeroValueResult ¶ added in v0.17.0
func (Executor) ZeroValueResult() interface{}
ZeroValueResult return an empty implementation of this executor result
type Result ¶
type Result struct { Systemout string `json:"systemout,omitempty" yaml:"systemout,omitempty"` SystemoutJSON interface{} `json:"systemoutjson,omitempty" yaml:"systemoutjson,omitempty"` Systemerr string `json:"systemerr,omitempty" yaml:"systemerr,omitempty"` SystemerrJSON interface{} `json:"systemerrjson,omitempty" yaml:"systemerrjson,omitempty"` Err string `json:"err,omitempty" yaml:"err,omitempty"` Code string `json:"code,omitempty" yaml:"code,omitempty"` TimeSeconds float64 `json:"timeseconds,omitempty" yaml:"timeseconds,omitempty"` }
Result represents a step result
Click to show internal directories.
Click to hide internal directories.