Documentation
¶
Index ¶
- type CleanupProgressMsg
- type CopyNoticeExpiredMsg
- type DeprecationEntry
- type ErrorEntry
- type FinishMsg
- type KeyMap
- type Model
- type Panel
- type RetryAction
- type RetryStartMsg
- type RunPhase
- type Styles
- type TUIOutput
- func (t *TUIOutput) AwaitRetry() output.RetryAction
- func (t *TUIOutput) CleanupProgress(completed, total int)
- func (t *TUIOutput) Finish()
- func (t *TUIOutput) RetryStart(opts output.RetryStartOptions)
- func (t *TUIOutput) SetOnCancel(fn func())
- func (t *TUIOutput) Start(opts output.StartOptions)
- func (t *TUIOutput) WorkerComplete(workerID int, err error)
- func (t *TUIOutput) WorkerLine(workerID int, line string)
- func (t *TUIOutput) WorkerStart(workerID, testCount int)
- type TestCountMsg
- type TestDeprecationMsg
- type TestFailMsg
- type TestNode
- type TestPassMsg
- type TestSkipMsg
- type TestStartMsg
- type TestStatus
- type TickMsg
- type WorkerCompleteMsg
- type WorkerNode
- type WorkerStartMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanupProgressMsg ¶ added in v0.5.0
type CopyNoticeExpiredMsg ¶ added in v0.5.0
type CopyNoticeExpiredMsg struct{}
type DeprecationEntry ¶ added in v0.7.0
type ErrorEntry ¶
type KeyMap ¶
type KeyMap struct {
Up key.Binding
Down key.Binding
Enter key.Binding
Left key.Binding
Right key.Binding
Tab key.Binding
Quit key.Binding
PageUp key.Binding
PageDown key.Binding
Copy key.Binding
CopyAll key.Binding
Retry key.Binding
RerunAll key.Binding
}
func DefaultKeyMap ¶
func DefaultKeyMap() KeyMap
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func NewModel ¶
func NewModel(opts output.StartOptions, actionCh chan<- RetryAction) *Model
type RetryAction ¶ added in v0.6.0
type RetryAction = output.RetryAction
type RetryStartMsg ¶ added in v0.6.0
type Styles ¶
type Styles struct {
Title lipgloss.Style
TestPassed lipgloss.Style
TestFailed lipgloss.Style
TestRunning lipgloss.Style
TestSkipped lipgloss.Style
ErrorMsg lipgloss.Style
ErrorDetail lipgloss.Style
HelpBar lipgloss.Style
Cursor lipgloss.Style
Panel lipgloss.Style
ActivePanel lipgloss.Style
Dim lipgloss.Style
Bold lipgloss.Style
IconRunning string
IconExpand string
IconCollaps string
}
func DefaultStyles ¶
func DefaultStyles() Styles
type TUIOutput ¶
type TUIOutput struct {
// contains filtered or unexported fields
}
func (*TUIOutput) AwaitRetry ¶ added in v0.6.0
func (t *TUIOutput) AwaitRetry() output.RetryAction
func (*TUIOutput) CleanupProgress ¶ added in v0.5.0
func (*TUIOutput) RetryStart ¶ added in v0.6.0
func (t *TUIOutput) RetryStart(opts output.RetryStartOptions)
func (*TUIOutput) SetOnCancel ¶ added in v0.5.0
func (t *TUIOutput) SetOnCancel(fn func())
func (*TUIOutput) Start ¶
func (t *TUIOutput) Start(opts output.StartOptions)
func (*TUIOutput) WorkerComplete ¶
func (*TUIOutput) WorkerLine ¶
func (*TUIOutput) WorkerStart ¶
type TestCountMsg ¶
type TestDeprecationMsg ¶ added in v0.7.0
type TestFailMsg ¶
type TestPassMsg ¶
type TestSkipMsg ¶
type TestStartMsg ¶
type TestStatus ¶
type TestStatus int
const ( StatusPending TestStatus = iota StatusRunning StatusPassed StatusFailed StatusSkipped )
type WorkerCompleteMsg ¶
type WorkerNode ¶
type WorkerStartMsg ¶
Click to show internal directories.
Click to hide internal directories.