Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "smtp"
Name for test smtp
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor struct { WithTLS bool `json:"withtls,omitempty" yaml:"withtls,omitempty"` Host string `json:"host,omitempty" yaml:"host,omitempty"` Port int `json:"port,omitempty" yaml:"port,omitempty"` User string `json:"user,omitempty" yaml:"user,omitempty"` Password string `json:"password,omitempty" yaml:"password,omitempty"` To string `json:"to,omitempty" yaml:"to,omitempty"` From string `json:"from,omitempty" yaml:"from,omitempty"` Subject string `json:"subject,omitempty" yaml:"subject,omitempty"` Body string `json:"body,omitempty" yaml:"body,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"` 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.