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 Event
- type Events
- type MessageGroup
- 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
- type Style
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 Event ¶ added in v0.25.1
type Event struct { Description string Caller string TagID string Index string Events []msg.Event Validation []*assertly.Validation PassedCount int FailedCount int // contains filtered or unexported fields }
Event represents an tagged event
type Events ¶ added in v0.25.1
type Events struct { *model.Activities // contains filtered or unexported fields }
Events represents tags
type MessageGroup ¶ added in v0.25.1
type MessageGroup struct {
// contains filtered or unexported fields
}
func (*MessageGroup) EnableIfMatched ¶ added in v0.25.1
func (g *MessageGroup) EnableIfMatched(message *msg.Message) bool
EnableIfMatched enable group if matched or first message, returns true if previous group matched
func (*MessageGroup) Reset ¶ added in v0.25.1
func (g *MessageGroup) Reset()
func (*MessageGroup) Set ¶ added in v0.25.1
func (g *MessageGroup) Set(message *msg.Message)
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.