steps

package
v0.0.0-...-28b2d3d Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultMavenBuiltExampleRegex is the regex for building maven example
	DefaultMavenBuiltExampleRegex = "Local example service \"([^\"]*)\" is built by Maven"
)

Variables

This section is empty.

Functions

func GetBuiltRuntimeImageTagContextKey

func GetBuiltRuntimeImageTagContextKey(kogitoApplicationName string) string

GetBuiltRuntimeImageTagContextKey Returns context tag used to store built runtime image tag

Types

type Data

type Data struct {
	Namespace              string
	StartTime              time.Time
	KogitoExamplesLocation string
	ScenarioName           string
	ScenarioContext        map[string]string
	// contains filtered or unexported fields
}

Data contains all data needed by Gherkin steps to run

func (*Data) AfterScenario

func (data *Data) AfterScenario(scenario *godog.Scenario, err error) error

AfterScenario executes some actions on data after a scenario is finished

func (*Data) BeforeScenario

func (data *Data) BeforeScenario(scenario *messages.Pickle) error

BeforeScenario configure the data before a scenario is launched

func (*Data) RegisterAllSteps

func (data *Data) RegisterAllSteps(ctx *godog.ScenarioContext)

RegisterAllSteps register all steps available to the test suite

func (*Data) RegisterLogsKubernetesObjects

func (data *Data) RegisterLogsKubernetesObjects(objects ...client.ObjectList)

RegisterLogsKubernetesObjects allows to change which kubernetes objects logs should be saved

func (*Data) ResolveWithScenarioContext

func (data *Data) ResolveWithScenarioContext(str string) string

ResolveWithScenarioContext replaces all the variables in the string with their values.

type GraphqlDataIndexJobsQueryResponse

type GraphqlDataIndexJobsQueryResponse struct {
	Jobs []struct {
		ID string `json:"id,omitempty"`
	}
}

GraphqlDataIndexJobsQueryResponse Query response type of Data Index GraphQL endpoint containing jobs

type GraphqlDataIndexProcessInstancesIDQueryResponse

type GraphqlDataIndexProcessInstancesIDQueryResponse struct {
	ProcessInstances []struct {
		ID string `json:"id,omitempty"`
	}
}

GraphqlDataIndexProcessInstancesIDQueryResponse Query response type of Data Index GraphQL endpoint containing process instance IDs

type GraphqlDataIndexProcessInstancesQueryResponse

type GraphqlDataIndexProcessInstancesQueryResponse struct {
	ProcessInstances []struct {
		ProcessName string `json:"processName,omitempty"`
	}
}

GraphqlDataIndexProcessInstancesQueryResponse Query response type of Data Index GraphQL endpoint containing process instances

type HyperfoilRun

type HyperfoilRun struct {
	ID        string `json:"id"`
	Completed bool   `json:"completed"`
}

HyperfoilRun represents informations about the Hyperfoil run

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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