runner

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2016 License: GPL-3.0, GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteInitHookForRunner

func ExecuteInitHookForRunner(language string) error

Types

type Runner

type Runner struct {
	Id          string
	Name        string
	Version     string
	Description string
	Run         struct {
		Windows []string
		Linux   []string
		Darwin  []string
	}
	Init struct {
		Windows []string
		Linux   []string
		Darwin  []string
	}
	Lib                 string
	GaugeVersionSupport version.VersionSupport
}

func GetRunnerInfo

func GetRunnerInfo(language string) (*Runner, error)

type StartChannels

type StartChannels struct {
	// this will hold the runner
	RunnerChan chan *TestRunner
	// this will hold the error while creating runner
	ErrorChan chan error
	// this holds a flag based on which the runner is terminated
	KillChan chan bool
}

type TestRunner

type TestRunner struct {
	Cmd          *exec.Cmd
	Connection   net.Conn
	ErrorChannel chan error
	// contains filtered or unexported fields
}

func StartRunnerAndMakeConnection

func StartRunnerAndMakeConnection(manifest *manifest.Manifest, reporter reporter.Reporter, killChannel chan bool) (*TestRunner, error)

func (*TestRunner) IsProcessRunning added in v0.3.0

func (testRunner *TestRunner) IsProcessRunning() bool

func (*TestRunner) Kill

func (testRunner *TestRunner) Kill() error

Jump to

Keyboard shortcuts

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