runner

package
v0.0.0-...-4ba9a7d Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapResultsToExecutionResults

func MapResultsToExecutionResults(out []byte, err error) (result testkube.ExecutionResult)

func MapStatus

func MapStatus(in junit.Status) string

Types

type KarateRunner

type KarateRunner struct {
	Params  envs.Params
	Scraper scraper.Scraper //responsible for collecting and persisting the execution artifacts
	// contains filtered or unexported fields
}

KarateRunner - implements runner interface used in worker to start test execution

func NewKarateRunner

func NewKarateRunner(ctx context.Context, dependency string, params envs.Params) (*KarateRunner, error)

func (*KarateRunner) GetType

func (r *KarateRunner) GetType() runner.Type

GetType returns runner type

func (*KarateRunner) Run

func (karateRunner *KarateRunner) Run(ctx context.Context, execution testkube.Execution) (result testkube.ExecutionResult, err error)

func (*KarateRunner) Validate

func (r *KarateRunner) Validate(execution testkube.Execution) error

Validate checks if Execution has valid data in context of Karate executor. validates by checking if they are nil or empty Karate executor runs currently only based on Maven currently

Jump to

Keyboard shortcuts

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