Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisplayNode ¶
type DisplayNode struct {
IsEcosystem bool
IsProject bool
IsFile bool
IsScenario bool
// Use Project for all node types to know the project context
Project *workspace.WorkspaceNode
FilePath string // For File and Scenario nodes
Scenario *harness.Scenario // For Scenario nodes
ScenariosInFile []*harness.Scenario // For File nodes
// Pre-calculated for rendering
Prefix string
Depth int
}
DisplayNode represents a single line in the hierarchical TUI view.
func (*DisplayNode) ID ¶
func (n *DisplayNode) ID() string
ID returns a unique identifier for this node, used for tracking collapsed state and test status.
type KeyMap ¶
type KeyMap struct {
keymap.Base
Run key.Binding
DebugRun key.Binding
DebugSession key.Binding
FocusSelected key.Binding
FocusEcosystem key.Binding
ClearFocus key.Binding
GoToTop key.Binding
GoToBottom key.Binding
Fold key.Binding
Unfold key.Binding
FoldPrefix key.Binding // z
Search key.Binding
HalfPageUp key.Binding
HalfPageDown key.Binding
}
KeyMap defines the keybindings for the test runner TUI.
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the main model for the test runner TUI.
type TestStatus ¶
type TestStatus int
TestStatus represents the run state of a testable node.
const ( StatusNotRun TestStatus = iota StatusRunning StatusPassed StatusFailed )
Click to show internal directories.
Click to hide internal directories.