Documentation ¶
Overview ¶
Package executor contains the test executor app.
Index ¶
Constants ¶
View Source
const (
TestTypeHTTP testType = "http"
)
Different test types.
Variables ¶
View Source
var (
ErrCreateExecutor = fmt.Errorf("unable to create test executor")
)
error definitions.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App interface {
Play() (*http.ExecuteResult, error)
}
App is the interface for the test executor app.
type Opts ¶
type Opts func(*options)
Opts is a function for setting options on a test exectuor.
func WithLogger ¶
WithLogger sets the logger to use for the scenario.
func WithReader ¶
WithReader sets the reader to use for the scenario.
Directories ¶
Path | Synopsis |
---|---|
Package http contains the HTTP/REST test scenario implementation.
|
Package http contains the HTTP/REST test scenario implementation. |
Package replacer provides a Replacer interface that replaces a string with a new string.
|
Package replacer provides a Replacer interface that replaces a string with a new string. |
Package yaml presents the domain model for the YAML format representing test scenarios.
|
Package yaml presents the domain model for the YAML format representing test scenarios. |
Click to show internal directories.
Click to hide internal directories.