controller

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Unlicense Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const ComparisonNotSupportedMessage = "the comparison %s was not supported for the source"

Variables

This section is empty.

Functions

This section is empty.

Types

type AssertionController

type AssertionController interface {
	Assert(assertion model.Assertion, resp model.Response) model.ResultAssertion
}

func NewAssertionController

func NewAssertionController() AssertionController

type RestClient

type RestClient interface {
	Send(request rest.Request) (*rest.Response, error)
}

func NewRestClient

func NewRestClient() RestClient

type RestClientImpl

type RestClientImpl struct {
}

func (*RestClientImpl) Send

func (*RestClientImpl) Send(request rest.Request) (*rest.Response, error)

type ScenarioController

type ScenarioController interface {
	Run(scenario model.Scenario) model.ScenarioResult
}

func InitializeScenarioController

func InitializeScenarioController() (ScenarioController, error)

func NewScenarioController

func NewScenarioController(stepCtrl StepController) ScenarioController

type StepController

type StepController interface {
	Run(step model.Step) (model.ResultStep, error)
}

func NewStepController

func NewStepController(client RestClient, assertionCtrl AssertionController) StepController

Jump to

Keyboard shortcuts

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