run

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test

type Test struct {

	// Name is the fully qualified name of the test.
	Name string

	// Args is the list of arguments to pass to the test.
	Args []string

	// ModulePars hold module parameters
	ModulePars []string

	// Timeout is the maximum run time for the test in seconds.
	Timeout time.Duration

	// Path to the T3XF file.
	T3XF string

	// Path to the K3 runtime
	Runtime string

	// Dir specifies the working directory for the test.
	Dir string

	// LogFile is the path to the log file.
	LogFile string

	// Env specifies the environment variables to pass to the test.
	Env []string

	// Begin is the time the test started.
	Begin time.Time

	// End is the time the test ended.
	End time.Time

	// Verdict is the test verdict.
	Verdict string

	// Reason is the reason for the verdict.
	Reason string
}

A Test is a test case instance.

func NewTest

func NewTest(t3xf string, name string) *Test

NewTest creates a new test instance ready to run.

func (*Test) Run

func (t *Test) Run() error

Jump to

Keyboard shortcuts

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