runner

package
v1.10.12 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MIT, MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildGinkgoArgs

func BuildGinkgoArgs(params map[string]string, path, runPath string) ([]string, error)

func BuildGinkgoPassThroughFlags

func BuildGinkgoPassThroughFlags(execution testkube.Execution) []string

This should always be called after FindGinkgoParams so that it only acts on the "left over" Variables that are to be treated as pass through flags to GInkgo

func FindGinkgoParams

func FindGinkgoParams(execution *testkube.Execution, defaultParams map[string]string) map[string]string

Find any GinkgoParams in execution.Variables

func InitializeGinkgoParams

func InitializeGinkgoParams() map[string]string

func MapJunitToExecutionResults

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

func MapStatus

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

func MoveReport

func MoveReport(path string, reportsPath string, reportFileName string) error

Types

type GinkgoRunner

type GinkgoRunner struct {
	Params  envs.Params
	Fetcher content.ContentFetcher
	Scraper scraper.Scraper
}

func NewGinkgoRunner

func NewGinkgoRunner() (*GinkgoRunner, error)

func (*GinkgoRunner) GetType

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

GetType returns runner type

func (*GinkgoRunner) Run

func (r *GinkgoRunner) Run(execution testkube.Execution) (result testkube.ExecutionResult, err error)

func (*GinkgoRunner) Validate

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

Validate checks if Execution has valid data in context of Ginkgo executor

Jump to

Keyboard shortcuts

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