Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "readfile"
Name for test readfile
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor struct {
Path string `json:"path,omitempty" yaml:"path,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 {
Content string `json:"content,omitempty" yaml:"content,omitempty"`
ContentJSON interface{} `json:"contentjson,omitempty" yaml:"contentjson,omitempty"`
Err string `json:"err" yaml:"error"`
TimeSeconds float64 `json:"timeseconds,omitempty" yaml:"timeSeconds,omitempty"`
Md5sum map[string]string `json:"md5sum,omitempty" yaml:"md5sum,omitempty"`
Size map[string]int64 `json:"size,omitempty" yaml:"size,omitempty"`
ModTime map[string]int64 `json:"modtime,omitempty" yaml:"modtime,omitempty"`
Mod map[string]string `json:"mod,omitempty" yaml:"mod,omitempty"`
}
Result represents a step result
Click to show internal directories.
Click to hide internal directories.