runner

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigPath = "/home/seluser/config.yaml"

ConfigPath represents the path for the runner config.

View Source
var LogFiles = [...]string{
	logDir + "/chrome_browser.log",
	logDir + "/firefox_browser.log",
	logDir + "/supervisord.log",
	logDir + "/video-rec-stderr.log",
	logDir + "/video-rec-stdout.log",
	logDir + "/wait-xvfb.1.log",
	logDir + "/wait-xvfb.2.log",
	logDir + "/wait-xvfb-stdout.log",
	logDir + "/xvfb-tryouts-stderr.log",
	logDir + "/xvfb-tryouts-stdout.log",
	"/home/seluser/videos/video.mp4",
	"/home/seluser/docker.log",
}

LogFiles contains the locations of log and resource files that are useful for reporting.

Functions

This section is empty.

Types

type BaseRunner added in v0.6.1

type BaseRunner struct {
	Project      config.Project
	Suite        config.Suite
	RunnerConfig config.RunnerConfiguration
	Ctx          context.Context
	Cli          *command.SauceCtlCli
}

BaseRunner contains common properties across all runners

type Testrunner

type Testrunner interface {
	Setup() error
	Run() (int, error)
	Teardown(logDir string) error
}

Testrunner describes the test runner interface

Jump to

Keyboard shortcuts

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