Documentation
¶
Index ¶
- func ParseTeamCityAttr(line, attr string) string
- func ParseTeamCityCount(line string) *int
- func ParseTeamCityError(line string) (name, message, details string)
- func ParseTeamCityTestName(line string) string
- type Output
- type RetryAction
- type RetryStartOptions
- type StartOptions
- type TeamCityOutput
- func (t *TeamCityOutput) AwaitRetry() RetryAction
- func (t *TeamCityOutput) CleanupProgress(completed, total int)
- func (t *TeamCityOutput) Finish()
- func (t *TeamCityOutput) RetryStart(_ RetryStartOptions)
- func (t *TeamCityOutput) SetOnCancel(fn func())
- func (t *TeamCityOutput) Start(opts StartOptions)
- func (t *TeamCityOutput) WorkerComplete(workerID int, err error)
- func (t *TeamCityOutput) WorkerLine(workerID int, line string)
- func (t *TeamCityOutput) WorkerStart(workerID, testCount int)
- type TerminalOutput
- func (t *TerminalOutput) AwaitRetry() RetryAction
- func (t *TerminalOutput) CleanupProgress(completed, total int)
- func (t *TerminalOutput) Finish()
- func (t *TerminalOutput) RetryStart(_ RetryStartOptions)
- func (t *TerminalOutput) SetOnCancel(fn func())
- func (t *TerminalOutput) Start(opts StartOptions)
- func (t *TerminalOutput) WorkerComplete(workerID int, err error)
- func (t *TerminalOutput) WorkerLine(workerID int, line string)
- func (t *TerminalOutput) WorkerStart(workerID, testCount int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTeamCityAttr ¶
func ParseTeamCityCount ¶
func ParseTeamCityError ¶
func ParseTeamCityTestName ¶
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())
AwaitRetry() RetryAction
RetryStart(opts RetryStartOptions)
}
type RetryAction ¶ added in v0.6.0
type RetryAction int
const ( ActionRetry RetryAction = iota ActionRerunAll ActionQuit )
type RetryStartOptions ¶ added in v0.6.0
type StartOptions ¶ added in v0.5.0
type TeamCityOutput ¶
type TeamCityOutput struct {
// contains filtered or unexported fields
}
func NewTeamCityOutput ¶
func NewTeamCityOutput() *TeamCityOutput
func (*TeamCityOutput) AwaitRetry ¶ added in v0.6.0
func (t *TeamCityOutput) AwaitRetry() RetryAction
func (*TeamCityOutput) CleanupProgress ¶ added in v0.5.0
func (t *TeamCityOutput) CleanupProgress(completed, total int)
func (*TeamCityOutput) Finish ¶
func (t *TeamCityOutput) Finish()
func (*TeamCityOutput) RetryStart ¶ added in v0.6.0
func (t *TeamCityOutput) RetryStart(_ RetryStartOptions)
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) AwaitRetry ¶ added in v0.6.0
func (t *TerminalOutput) AwaitRetry() RetryAction
func (*TerminalOutput) CleanupProgress ¶ added in v0.5.0
func (t *TerminalOutput) CleanupProgress(completed, total int)
func (*TerminalOutput) Finish ¶
func (t *TerminalOutput) Finish()
func (*TerminalOutput) RetryStart ¶ added in v0.6.0
func (t *TerminalOutput) RetryStart(_ RetryStartOptions)
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)
Click to show internal directories.
Click to hide internal directories.