runner

package
v1.10.8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT, MIT Imports: 15 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
	// contains filtered or unexported fields
}

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

func NewCypressRunner

func NewCypressRunner(dependency string) (*CypressRunner, error)

func (*CypressRunner) GetType

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

GetType returns runner type

func (*CypressRunner) Run

func (r *CypressRunner) Run(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