Versions in this module Expand all Collapse all v1 v1.1.0 Jul 30, 2023 Changes in this version type Spec + Assert *Expect + func (s *Spec) Eval(ctx context.Context, t *testing.T) *result.Result v1.0.0 Jul 26, 2023 Changes in this version + const StateKeyBaseURL + const StateKeyClient + var ErrAliasOrURL = fmt.Errorf(..., gdterrors.ErrParse) + var ErrExpectedLocationHeader = fmt.Errorf("%w: expected Location HTTP Header in previous response", gdterrors.ErrRuntime) + func HTTPHeaderNotIn(element, container interface{}) error + func HTTPNotInBody(element string) error + func HTTPStatusNotEqual(exp, got interface{}) error + func NewServerFixture(h nethttp.Handler, useTLS bool) gdttypes.Fixture + func Plugin() gdttypes.Plugin + type Defaults struct + func (d *Defaults) BaseURLFromContext(ctx context.Context) string + func (d *Defaults) UnmarshalYAML(node *yaml.Node) error + type Expect struct + Headers []string + JSON *gdtjson.Expect + Status *int + Strings []string + type RunData struct + Response *nethttp.Response + type Spec struct + DELETE string + Data interface{} + GET string + Method string + PATCH string + POST string + PUT string + Response *Expect + URL string + func (s *Spec) Base() *gdttypes.Spec + func (s *Spec) Run(ctx context.Context, t *testing.T) error + func (s *Spec) SetBase(b gdttypes.Spec) + func (s *Spec) Title() string + func (s *Spec) UnmarshalYAML(node *yaml.Node) error