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 string `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
func (Executor) ZeroValueResult ¶ added in v0.17.0
func (Executor) ZeroValueResult() interface{}
ZeroValueResult return an empty implementation of this executor result
Click to show internal directories.
Click to hide internal directories.