reporter

package
v0.0.0-...-c025ee0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Green = Color("\033[1;32m%s\033[0m")
	Red   = Color("\033[1;31m%s\033[0m")
)

Functions

func Color

func Color(colorString string) func(...interface{}) string

func New

func New() *rspecReporter

func PrintLeaves

func PrintLeaves(m map[string]Leaf)

Types

type Leaf

type Leaf struct {
	Description string
	Leaves      map[string]Leaf
	Passed      int
	Level       int
	Duration    string
	Link        string
}

func FindParent

func FindParent(leaves map[string]Leaf, keys []string, currentParent Leaf) (out Leaf, err error)

Jump to

Keyboard shortcuts

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