Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalValue ¶ added in v0.1.15
type PreRequestInput ¶
type PreRequestOutput ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func NewRunner ¶
func NewRunner(fs httpclient.FileSystem) *Runner
func (*Runner) RunPreRequest ¶
func (r *Runner) RunPreRequest(scripts []restfile.ScriptBlock, input PreRequestInput) (PreRequestOutput, error)
func (*Runner) RunTests ¶
func (r *Runner) RunTests(scripts []restfile.ScriptBlock, input TestInput) ([]TestResult, map[string]GlobalValue, error)
type TestInput ¶
type TestInput struct {
Response *httpclient.Response
Variables map[string]string
Globals map[string]GlobalValue
BaseDir string
}
Click to show internal directories.
Click to hide internal directories.