Documentation ¶
Index ¶
- type AssertModel
- type AssertionModel
- type FlowModel
- type HTTPModel
- type HTTPRequestModel
- type HTTPResponseModel
- type Pipeline
- type PipelineHandler
- type PipelineModel
- type PipelineReadModel
- type ScenarioModel
- type ScenarioSlugModel
- type Specification
- type SpecificationHandler
- type SpecificationModel
- type SpecificationReadModel
- type StatementModel
- type StatusModel
- type StoryModel
- type TestCampaign
- type TestCampaignHandler
- type TestCampaignModel
- type TestCampaignReadModel
- type ThesisModel
- type ThesisStatusModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertModel ¶
type AssertModel struct { Actual string Expected interface{} }
type AssertionModel ¶
type AssertionModel struct { Method string Asserts []AssertModel }
func (AssertionModel) IsZero ¶
func (a AssertionModel) IsZero() bool
type FlowModel ¶
type FlowModel struct { StartedAt time.Time OverallState string Statuses []StatusModel }
type HTTPModel ¶
type HTTPModel struct { Request HTTPRequestModel Response HTTPResponseModel }
type HTTPRequestModel ¶
type HTTPRequestModel struct { Method string URL string ContentType string Body map[string]interface{} }
func (HTTPRequestModel) IsZero ¶
func (r HTTPRequestModel) IsZero() bool
type HTTPResponseModel ¶
func (HTTPResponseModel) IsZero ¶
func (r HTTPResponseModel) IsZero() bool
type PipelineHandler ¶
type PipelineHandler interface {
Handle(ctx context.Context, qry Pipeline) (PipelineModel, error)
}
func NewPipelineHandler ¶
func NewPipelineHandler(readModel PipelineReadModel) PipelineHandler
type PipelineModel ¶
type PipelineReadModel ¶
type PipelineReadModel interface {
FindPipeline(ctx context.Context, qry Pipeline) (PipelineModel, error)
}
type ScenarioModel ¶
type ScenarioModel struct { Slug string Description string Theses []ThesisModel }
type ScenarioSlugModel ¶
type Specification ¶
type SpecificationHandler ¶
type SpecificationHandler interface {
Handle(ctx context.Context, qry Specification) (SpecificationModel, error)
}
func NewSpecificationHandler ¶
func NewSpecificationHandler(readModel SpecificationReadModel) SpecificationHandler
type SpecificationModel ¶
type SpecificationReadModel ¶
type SpecificationReadModel interface {
FindSpecification(ctx context.Context, qry Specification) (SpecificationModel, error)
}
type StatementModel ¶
type StatusModel ¶
type StatusModel struct { Slug ScenarioSlugModel State string ThesisStatuses []ThesisStatusModel }
type StoryModel ¶
type TestCampaign ¶
type TestCampaignHandler ¶
type TestCampaignHandler interface {
Handle(ctx context.Context, qry TestCampaign) (TestCampaignModel, error)
}
func NewTestCampaignHandler ¶
func NewTestCampaignHandler(readModel TestCampaignReadModel) TestCampaignHandler
type TestCampaignModel ¶
type TestCampaignReadModel ¶
type TestCampaignReadModel interface {
FindTestCampaign(ctx context.Context, qry TestCampaign) (TestCampaignModel, error)
}
type ThesisModel ¶
type ThesisModel struct { Slug string After []string Statement StatementModel HTTP HTTPModel Assertion AssertionModel }
type ThesisStatusModel ¶
Click to show internal directories.
Click to hide internal directories.