Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "imap"
Name for test imap
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor struct { IMAPHost string `json:"imaphost,omitempty" yaml:"imaphost,omitempty"` IMAPPort string `json:"imapport,omitempty" yaml:"imapport,omitempty"` IMAPUser string `json:"imapuser,omitempty" yaml:"imapuser,omitempty"` IMAPPassword string `json:"imappassword,omitempty" yaml:"imappassword,omitempty"` MBox string `json:"mbox,omitempty" yaml:"mbox,omitempty"` MBoxOnSuccess string `json:"mboxonsuccess,omitempty" yaml:"mboxonsuccess,omitempty"` DeleteOnSuccess bool `json:"deleteonsuccess,omitempty" yaml:"deleteonsuccess,omitempty"` SearchFrom string `json:"searchfrom,omitempty" yaml:"searchfrom,omitempty"` SearchTo string `json:"searchto,omitempty" yaml:"searchto,omitempty"` SearchSubject string `json:"searchsubject,omitempty" yaml:"searchsubject,omitempty"` SearchBody string `json:"searchbody,omitempty" yaml:"searchbody,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 { Err string `json:"error" yaml:"error"` Subject string `json:"subject,omitempty" yaml:"subject,omitempty"` Body string `json:"body,omitempty" yaml:"body,omitempty"` TimeSeconds float64 `json:"timeSeconds,omitempty" yaml:"timeSeconds,omitempty"` }
Result represents a step result
Click to show internal directories.
Click to hide internal directories.