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"` SearchFrom string `json:"searchfrom,omitempty" yaml:"searchfrom,omitempty"` SearchSubject string `json:"searchsubject,omitempty" yaml:"searchsubject,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"` 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"` TimeHuman string `json:"timeHuman,omitempty" yaml:"timeHuman,omitempty"` }
Result represents a step result
Click to show internal directories.
Click to hide internal directories.