test

package
v0.0.0-...-247cf46 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cd

func Cd(t tester, name string, runTests func())

func CreateEmptyFile

func CreateEmptyFile(t tester, name string)

func CreateFile

func CreateFile(t tester, name string, content string)

func ExpandPath

func ExpandPath(t testHelper, name string) string

func IsFile

func IsFile(t testHelper, name string) bool

func RunCommand

func RunCommand(t tester, cmd *Cmd)

func Setup

func Setup(runTests func())

func WorkingDirectory

func WorkingDirectory() string

Types

type Cmd

type Cmd struct {
	exec.Cmd
	// contains filtered or unexported fields
}

func Command

func Command(cmd *exec.Cmd) *Cmd

func (*Cmd) ReadStderr

func (c *Cmd) ReadStderr() string

func (*Cmd) ReadStdout

func (c *Cmd) ReadStdout() string

Jump to

Keyboard shortcuts

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