Documentation ¶
Index ¶
- Variables
- func DefaultFilter() map[string]bool
- func GetPath(candidates *model.Activities, runner *Runner, fullPath bool) string
- func WildcardFilter() map[string]bool
- type Asserted
- type EventTag
- type Renderer
- func (r *Renderer) ColorText(text string, textColors ...string) string
- func (r *Renderer) Columns() int
- func (r *Renderer) Print(message string)
- func (r *Renderer) PrintTable(caption string, headers []string, data [][]string, maxSize int)
- func (r *Renderer) Printf(text string, args ...interface{})
- func (r *Renderer) Println(text string)
- func (r *Renderer) Sprintf(text string, args ...interface{}) string
- type ReportSummaryEvent
- type Runner
Constants ¶
This section is empty.
Variables ¶
View Source
var OnError = func(code int) { os.Exit(code) }
OnError exit system with os.Exit with supplied code.
Functions ¶
Types ¶
type Asserted ¶
type Asserted interface {
Assertion() []*assertly.Validation
}
Asserted represent validation response
type EventTag ¶
type EventTag struct { Description string Caller string TagID string Events []msg.Event Validation []*assertly.Validation PassedCount int FailedCount int }
EventTag represents an event tag
type Renderer ¶
type Renderer struct { ErrorColor string // contains filtered or unexported fields }
Renderer represents a renderer
func NewRenderer ¶
NewRenderer creates a new renderer
func (*Renderer) PrintTable ¶
PrintTable prints supplied table data
type ReportSummaryEvent ¶
ReportSummaryEvent represents event xUnitSummary
type Runner ¶
type Runner struct { *Renderer *model.Activities MessageStyleColor map[int]string InputColor string OutputColor string TagColor string InverseTag bool ServiceActionColor string PathColor string SuccessColor string ErrorColor string // contains filtered or unexported fields }
Testing represents command line runner
func (*Runner) AsListener ¶
Click to show internal directories.
Click to hide internal directories.