runner

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOriginalTestName

func GetOriginalTestName(name string) string

Gets the test name

func IgnoreRetries added in v0.4.0

func IgnoreRetries(t *testing.T)

Ignore runner retries for this test

func Run

func Run(m *testing.M, options Options) int

Runs a test suite

Types

type Options added in v0.1.12

type Options struct {
	FailRetries int
	PanicAsFail bool
	Logger      *log.Logger
	OnPanic     func(t *testing.T, err interface{})
}

func GetRunnerOptions added in v0.4.0

func GetRunnerOptions() *Options

Gets the runner options

Jump to

Keyboard shortcuts

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