runner

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discoverer

type Discoverer interface {
	DiscoverPkgs(p string) ([]string, error)
}

func NewDiscoverer

func NewDiscoverer(osa osadapter.OS) Discoverer

type TestRunner

type TestRunner interface {
	Run() (io.Reader, error)
}

func NewTestRunner

func NewTestRunner(osa osadapter.OS, tests ...test.Test) (TestRunner, error)

NewTestRunner creates a new runner that executes all tests in the packages specified. If not packages are specified, it will discover all packages containing go sources, excluding some, like `vendor`.

Jump to

Keyboard shortcuts

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