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
type Result ¶
type Result struct { Executor Executor `json:"executor,omitempty" yaml:"executor,omitempty"` Content string `json:"content,omitempty" yaml:"content,omitempty"` ContentJSON interface{} `json:"contentjson,omitempty" yaml:"contentjson,omitempty"` Err string `json:"error" yaml:"error"` TimeSeconds float64 `json:"timeSeconds,omitempty" yaml:"timeSeconds,omitempty"` TimeHuman string `json:"timeHuman,omitempty" yaml:"timeHuman,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.