output

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTeamCityAttr

func ParseTeamCityAttr(line, attr string) string

func ParseTeamCityCount

func ParseTeamCityCount(line string) *int

func ParseTeamCityError

func ParseTeamCityError(line string) (name, message, details string)

func ParseTeamCityTestName

func ParseTeamCityTestName(line string) string

Types

type Output

type Output interface {
	Start(opts StartOptions)
	WorkerStart(workerID, testCount int)
	WorkerLine(workerID int, line string)
	WorkerComplete(workerID int, err error)
	CleanupProgress(completed, total int)
	Finish()
	SetOnCancel(fn func())
}

type StartOptions added in v0.5.0

type StartOptions struct {
	TestCount    int
	WorkerCount  int
	Filter       string
	Group        string
	ExcludeGroup string
}

type TeamCityOutput

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

func NewTeamCityOutput

func NewTeamCityOutput() *TeamCityOutput

func (*TeamCityOutput) CleanupProgress added in v0.5.0

func (t *TeamCityOutput) CleanupProgress(completed, total int)

func (*TeamCityOutput) Finish

func (t *TeamCityOutput) Finish()

func (*TeamCityOutput) SetOnCancel added in v0.5.0

func (t *TeamCityOutput) SetOnCancel(fn func())

func (*TeamCityOutput) Start

func (t *TeamCityOutput) Start(opts StartOptions)

func (*TeamCityOutput) WorkerComplete

func (t *TeamCityOutput) WorkerComplete(workerID int, err error)

func (*TeamCityOutput) WorkerLine

func (t *TeamCityOutput) WorkerLine(workerID int, line string)

func (*TeamCityOutput) WorkerStart

func (t *TeamCityOutput) WorkerStart(workerID, testCount int)

type TerminalOutput

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

func NewTerminalOutput

func NewTerminalOutput() *TerminalOutput

func (*TerminalOutput) CleanupProgress added in v0.5.0

func (t *TerminalOutput) CleanupProgress(completed, total int)

func (*TerminalOutput) Finish

func (t *TerminalOutput) Finish()

func (*TerminalOutput) SetOnCancel added in v0.5.0

func (t *TerminalOutput) SetOnCancel(fn func())

func (*TerminalOutput) Start

func (t *TerminalOutput) Start(opts StartOptions)

func (*TerminalOutput) WorkerComplete

func (t *TerminalOutput) WorkerComplete(workerID int, err error)

func (*TerminalOutput) WorkerLine

func (t *TerminalOutput) WorkerLine(workerID int, line string)

func (*TerminalOutput) WorkerStart

func (t *TerminalOutput) WorkerStart(workerID, testCount int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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