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)
Types ¶
type CypressRunner ¶
type CypressRunner struct {
Params Params
Fetcher content.ContentFetcher
Scraper scraper.Scraper
}
CypressRunner - implements runner interface used in worker to start test execution
func NewCypressRunner ¶
func NewCypressRunner() (*CypressRunner, error)
func (*CypressRunner) Run ¶
func (r *CypressRunner) Run(execution testkube.Execution) (result testkube.ExecutionResult, err error)
type Params ¶
type Params struct {
Endpoint string // RUNNER_ENDPOINT
AccessKeyID string // RUNNER_ACCESSKEYID
SecretAccessKey string // RUNNER_SECRETACCESSKEY
Location string // RUNNER_LOCATION
Token string // RUNNER_TOKEN
Ssl bool // RUNNER_SSL
ScrapperEnabled bool // RUNNER_SCRAPPERENABLED
GitUsername string // RUNNER_GITUSERNAME
GitToken string // RUNNER_GITTOKEN
}
Click to show internal directories.
Click to hide internal directories.