Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Axes ¶
type Axes []Axis
Axes is a slice of "Axis"
type AxisMatcher ¶
AxisMatcher matches an axis name to a give value.
func (AxisMatcher) Matches ¶
func (a AxisMatcher) Matches(args TestClientArgs) bool
Matches returns true if the given TestClientArgs match this AxisMatcher.
func (AxisMatcher) String ¶
func (a AxisMatcher) String() string
String return a formatted string for axis and value separated by colon.
type Behaviors ¶
type Behaviors []Behavior
Behaviors is a collection of Behavior objects sortable by behavior name.
type Config ¶
type Config struct { Reports []string CallTimeout time.Duration WaitForTimeout time.Duration WaitForHosts []string Axes Axes Behaviors Behaviors JSONReportPath string }
Config describes the unstructured test plan
func ReadConfigFromEnviron ¶
ReadConfigFromEnviron creates a Config by looking for environment variables
type Filter ¶
type Filter struct {
Matchers []AxisMatcher
}
Filter specifies criteria for skipping specific test cases of a behavior. All test cases for a behavior where all parameter values match the AxisMatcher will be skipped.
func (Filter) Matches ¶
func (f Filter) Matches(testArgs TestClientArgs) bool
Matches returns true if all matchers associated with this Filter match the given test arguments.
type TestCase ¶
type TestCase struct { Plan *Plan Client string Arguments TestClientArgs Skip bool SkipReason string }
TestCase represents the request made to test clients.
type TestClientArgs ¶
TestClientArgs represents custom args to pass to test client.