clitest

package
v0.0.2-0...-1bbd1ae Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildTester

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

func NewBuild

func NewBuild() BuildTester

func (*BuildTester) Run

func (t *BuildTester) Run(test *testing.T, args ...string) TestRun

func (*BuildTester) RunWithOptions

func (t *BuildTester) RunWithOptions(test *testing.T, options RunOptions) TestRun

type RunOptions

type RunOptions struct {
	Arguments   []string
	Environment map[string]string
}

type TestRun

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

func (TestRun) AssertExitCode

func (t TestRun) AssertExitCode(code int) bool

func (TestRun) AssertSuccessful

func (t TestRun) AssertSuccessful() bool

func (TestRun) Stderr

func (t TestRun) Stderr() string

func (TestRun) Stdout

func (t TestRun) Stdout() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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