runner

package
v1.12.12-beta003 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: MIT, MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapJunitToExecutionResults

func MapJunitToExecutionResults(out []byte, suites []junit.Suite) (result testkube.ExecutionResult)

func MapStatus

func MapStatus(in junit.Status) (out string)

Types

type CypressRunner

type CypressRunner struct {
	Params  envs.Params
	Scraper scraper.Scraper
	// contains filtered or unexported fields
}

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

func NewCypressRunner

func NewCypressRunner(ctx context.Context, dependency string, params envs.Params) (*CypressRunner, error)

func (*CypressRunner) GetType

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

GetType returns runner type

func (*CypressRunner) Run

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

func (*CypressRunner) Validate

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

Validate checks if Execution has valid data in context of Cypress executor. Cypress executor runs currently only based on Cypress project

Jump to

Keyboard shortcuts

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