Documentation
¶
Index ¶
- func FormatDuration(ms int64) string
- func GenerateHTMLReport(result *engine.FlowResult, config HTMLReportConfig) error
- func PrintJSONResult(result *engine.FlowResult) error
- func PrintSummary(result *engine.FlowResult)
- func Repeat(s string, n int) string
- type HTMLReportConfig
- type NullPrinter
- func (p *NullPrinter) CleanupResult(string, error)
- func (p *NullPrinter) CleanupStart(string)
- func (p *NullPrinter) FlowHeader(string)
- func (p *NullPrinter) SectionHeader(string)
- func (p *NullPrinter) SetupResult(string, error)
- func (p *NullPrinter) SetupStart(string)
- func (p *NullPrinter) StepResult(*engine.StepResult, int, int, bool)
- func (p *NullPrinter) StepStart(string, string, int, int)
- type TerminalPrinter
- func (p *TerminalPrinter) CleanupResult(description string, err error)
- func (p *TerminalPrinter) CleanupStart(description string)
- func (p *TerminalPrinter) FlowHeader(name string)
- func (p *TerminalPrinter) SectionHeader(name string)
- func (p *TerminalPrinter) SetupResult(description string, err error)
- func (p *TerminalPrinter) SetupStart(description string)
- func (p *TerminalPrinter) StepResult(result *engine.StepResult, stepNum int, totalSteps int, verbose bool)
- func (p *TerminalPrinter) StepStart(name string, driverType string, stepNum int, totalSteps int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
FormatDuration formats a duration for display.
func GenerateHTMLReport ¶
func GenerateHTMLReport(result *engine.FlowResult, config HTMLReportConfig) error
GenerateHTMLReport creates a comprehensive HTML report with Tailwind CSS styling.
func PrintJSONResult ¶
func PrintJSONResult(result *engine.FlowResult) error
PrintJSONResult outputs the flow result as JSON.
func PrintSummary ¶
func PrintSummary(result *engine.FlowResult)
PrintSummary prints the final pass/fail/skip count line.
Types ¶
type HTMLReportConfig ¶
HTMLReportConfig configures HTML report generation.
type NullPrinter ¶
type NullPrinter struct{}
NullPrinter discards all output (used for JSON mode).
func (*NullPrinter) CleanupResult ¶
func (p *NullPrinter) CleanupResult(string, error)
func (*NullPrinter) CleanupStart ¶
func (p *NullPrinter) CleanupStart(string)
func (*NullPrinter) FlowHeader ¶
func (p *NullPrinter) FlowHeader(string)
func (*NullPrinter) SectionHeader ¶
func (p *NullPrinter) SectionHeader(string)
func (*NullPrinter) SetupResult ¶
func (p *NullPrinter) SetupResult(string, error)
func (*NullPrinter) SetupStart ¶
func (p *NullPrinter) SetupStart(string)
func (*NullPrinter) StepResult ¶
func (p *NullPrinter) StepResult(*engine.StepResult, int, int, bool)
type TerminalPrinter ¶
type TerminalPrinter struct{}
TerminalPrinter outputs step results to the terminal with colors.
func NewTerminalPrinter ¶
func NewTerminalPrinter() *TerminalPrinter
func (*TerminalPrinter) CleanupResult ¶
func (p *TerminalPrinter) CleanupResult(description string, err error)
func (*TerminalPrinter) CleanupStart ¶
func (p *TerminalPrinter) CleanupStart(description string)
func (*TerminalPrinter) FlowHeader ¶
func (p *TerminalPrinter) FlowHeader(name string)
func (*TerminalPrinter) SectionHeader ¶
func (p *TerminalPrinter) SectionHeader(name string)
func (*TerminalPrinter) SetupResult ¶
func (p *TerminalPrinter) SetupResult(description string, err error)
func (*TerminalPrinter) SetupStart ¶
func (p *TerminalPrinter) SetupStart(description string)
func (*TerminalPrinter) StepResult ¶
func (p *TerminalPrinter) StepResult(result *engine.StepResult, stepNum int, totalSteps int, verbose bool)
Click to show internal directories.
Click to hide internal directories.