test

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Deps []any

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