output

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RED         = "\033[0;31m"
	LIGHT_RED   = "\033[1;31m"
	GREEN       = "\033[0;32m"
	LIGHT_GREEN = "\033[1;32m"
	YELLOW      = "\033[1;33m"
	ORANGE      = "\033[0;33m"
	CYAN        = "\033[0;36m"
	BLUE        = "\033[0;34m"
	PURPLE      = "\033[0;35m"
	NC          = "\033[0m" // No Color
)

Variables

View Source
var StructureTestsTemplate = `{{OutputResult . isQuiet}}`
View Source
var SummaryTemplate = `{{FinalResults .}}`
View Source
var TemplateMap = template.FuncMap{
	"orange":       orange,
	"blue":         blue,
	"lightGreen":   lightGreen,
	"yellow":       yellow,
	"red":          red,
	"lightRed":     lightRed,
	"cyan":         cyan,
	"green":        green,
	"purple":       purple,
	"Banner":       Banner,
	"OutputResult": OutputResult,
	"FinalResults": FinalResults,
}

Functions

func Banner(filename string) string

func FinalResults added in v1.2.0

func FinalResults(result types.SummaryObject) string

func OutputResult added in v1.2.0

func OutputResult(result *types.TestResult, isQuiet bool) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL