test

package
v0.5.4-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Env

func Env()

func SysInfo added in v0.4.2

func SysInfo()

func Test added in v0.4.2

func Test() error

Types

type CoverageSpec added in v0.4.2

type CoverageSpec struct {
	MergeProfiles     bool
	MergedProfileName string
	ExcludePatterns   []string
}

type RunSpec added in v0.4.2

type RunSpec struct {
	Name     string
	Packages string
	Explicit bool

	Suite    *types.SuiteConfig
	Build    *types.GoFlagsConfig
	Run      *types.CLIConfig
	Reporter *types.ReporterConfig
}

func (*RunSpec) CommandLine added in v0.4.2

func (rs *RunSpec) CommandLine() (string, []string, error)

type TestPlanRuntime added in v0.4.2

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

func NewTestPlanRuntime added in v0.4.2

func NewTestPlanRuntime() (*TestPlanRuntime, error)

func (*TestPlanRuntime) Run added in v0.4.2

func (rt *TestPlanRuntime) Run(actions ...string) (testErr error)

type TestPlanSpec added in v0.4.2

type TestPlanSpec struct {
	Parallel bool
	Actions  map[string]RunSpec
	Coverage CoverageSpec
}

Jump to

Keyboard shortcuts

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