runner

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2015 License: GPL-3.0, GPL-3.0 Imports: 18 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
}

func StartRunnerAndMakeConnection

func StartRunnerAndMakeConnection(manifest *manifest.Manifest, log *logger.GaugeLogger, killChannel chan bool) (*TestRunner, error)

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