steps

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BabbageFeature

type BabbageFeature struct {
	Server     *httptest.Server
	Body       string
	StatusCode int
	Headers    map[string]string
}

func NewBabbageFeature

func NewBabbageFeature() *BabbageFeature

func (*BabbageFeature) RegisterSteps

func (f *BabbageFeature) RegisterSteps(ctx *godog.ScenarioContext)

type Component

type Component struct {
	componenttest.ErrorFeature

	Config         *config.Config
	HTTPServer     *http.Server
	ServiceRunning bool
	// contains filtered or unexported fields
}

func NewComponent

func NewComponent() (*Component, error)

func (*Component) Close

func (c *Component) Close() error

func (*Component) DoGetHTTPServer

func (c *Component) DoGetHTTPServer(_ *config.Config, bindAddr string, router http.Handler) service.HTTPServer

func (*Component) DoGetHealthcheckOk

func (c *Component) DoGetHealthcheckOk(_ *config.Config, _, _, _ string) (service.HealthChecker, error)

func (*Component) DoGetRequestMiddleware

func (c *Component) DoGetRequestMiddleware() service.RequestMiddleware

func (*Component) InitialiseService

func (c *Component) InitialiseService() (http.Handler, error)

func (*Component) RegisterSteps

func (c *Component) RegisterSteps(ctx *godog.ScenarioContext)

func (*Component) Reset

func (c *Component) Reset() *Component

type DatasetControllerFeature added in v1.12.0

type DatasetControllerFeature struct {
	Server     *httptest.Server
	Body       string
	StatusCode int
	Headers    map[string]string
}

func NewDatasetControllerFeature added in v1.12.0

func NewDatasetControllerFeature() *DatasetControllerFeature

func (*DatasetControllerFeature) RegisterSteps added in v1.12.0

func (f *DatasetControllerFeature) RegisterSteps(ctx *godog.ScenarioContext)

type HTTPTestRequestMiddleware

type HTTPTestRequestMiddleware struct{}

func (HTTPTestRequestMiddleware) GetMiddlewareFunction

func (rm HTTPTestRequestMiddleware) GetMiddlewareFunction() func(http.Handler) http.Handler

type LegacyCacheAPIFeature

type LegacyCacheAPIFeature struct {
	Server *httptest.Server
	// contains filtered or unexported fields
}

func NewLegacyCacheAPIFeature

func NewLegacyCacheAPIFeature() *LegacyCacheAPIFeature

func (*LegacyCacheAPIFeature) RegisterSteps

func (f *LegacyCacheAPIFeature) RegisterSteps(ctx *godog.ScenarioContext)

func (*LegacyCacheAPIFeature) Reset

func (f *LegacyCacheAPIFeature) Reset()

type ReleaseCalendarFeature

type ReleaseCalendarFeature struct {
	Server     *httptest.Server
	Body       string
	StatusCode int
	Headers    map[string]string
}

func NewReleaseCalendarFeature

func NewReleaseCalendarFeature() *ReleaseCalendarFeature

func (*ReleaseCalendarFeature) RegisterSteps

func (f *ReleaseCalendarFeature) RegisterSteps(ctx *godog.ScenarioContext)

type SearchControllerFeature added in v1.7.0

type SearchControllerFeature struct {
	Server     *httptest.Server
	Body       string
	StatusCode int
	Headers    map[string]string
}

func NewSearchControllerFeature added in v1.7.0

func NewSearchControllerFeature() *SearchControllerFeature

func (*SearchControllerFeature) RegisterSteps added in v1.7.0

func (f *SearchControllerFeature) RegisterSteps(ctx *godog.ScenarioContext)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL