testrun

package
v0.0.0-...-05c574e Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintName

func PrintName(target io.Writer, name string)

func PrintSummary

func PrintSummary(target io.Writer, run RunResult)

Types

type RunError

type RunError struct {
	FailureCount int
}

func NewRunError

func NewRunError(run RunResult) *RunError

func (RunError) Error

func (err RunError) Error() string

func (RunError) ExitCode

func (err RunError) ExitCode() int

type RunParameters

type RunParameters struct {
	Env          []string
	JUnitXML     string
	Name         string
	NumberOfJobs int
	OutputTarget io.Writer
	Timeout      time.Duration
}

type RunResult

type RunResult struct {
	ID           string
	Name         string
	Started      time.Time
	Finished     time.Time
	Success      bool
	SuccessCount int
	FailureCount int
	TestResults  []testcase.TestResult
}

func Execute

func Execute(rawPaths []string, params RunParameters) RunResult

Jump to

Keyboard shortcuts

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