testrunner - ActiveState ActiveGo 1.8
...

Package testrunner

import "github.com/onsi/ginkgo/ginkgo/testrunner"
Overview
Index

Overview ▾

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
    // contains filtered or unexported fields
}

func New

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

func (*TestRunner) BuildArgs

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

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

func (*TestRunner) Run

func (t *TestRunner) Run() RunResult