testrunner

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const CoverProfileSuffix = ".coverprofile"

Variables

This section is empty.

Functions

This section is empty.

Types

type RunResult

type RunResult struct {
	Passed               bool
	HasProgrammaticFocus bool
}

func FailingRunResult

func FailingRunResult() RunResult

func PassingRunResult

func PassingRunResult() RunResult

func (RunResult) Merge

func (r RunResult) Merge(o RunResult) RunResult

type TestRunner

type TestRunner struct {
	Suite testsuite.TestSuite

	CoverageFile string
	// contains filtered or unexported fields
}

func New

func New(suite testsuite.TestSuite, numCPU int, parallelStream bool, timeout time.Duration, goOpts map[string]interface{}, additionalArgs []string) *TestRunner

func (*TestRunner) BuildArgs added in v1.3.0

func (t *TestRunner) BuildArgs(path string) []string

func (*TestRunner) CleanUp

func (t *TestRunner) CleanUp()

func (*TestRunner) Compile

func (t *TestRunner) Compile() error

func (*TestRunner) CompileTo added in v1.2.0

func (t *TestRunner) CompileTo(path string) error

func (*TestRunner) Run

func (t *TestRunner) Run() RunResult

Jump to

Keyboard shortcuts

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