runner

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner is a type to manage and run tests and provide logs.

func NewRunner

func NewRunner(workers int, timeout time.Duration, stopOnFailure bool, stdout io.StringWriter, stderr io.StringWriter) *Runner

NewRunner creates and returns a new Runner.

func (*Runner) Run

func (r *Runner) Run(requester core.Requester, testsuite *core.Testsuite) (bool, error)

Run smoke test on a testsuite and provides results.

func (*Runner) Stop

func (r *Runner) Stop()

Stop pauses off the runner. used for signal handling or when stop on failure is enabled.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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