reporter

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2016 License: GPL-3.0, GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SimpleConsoleOutput bool

SimpleConsoleOutput represents if coloring should be removed from the Console output

View Source
var Verbose bool

Verbose represents level of console Reporting. If true its at step level, else at scenario level.

Functions

This section is empty.

Types

type Reporter

type Reporter interface {
	SpecStart(string)
	SpecEnd()
	ScenarioStart(string)
	ScenarioEnd(bool)
	StepStart(string)
	StepEnd(bool)
	ConceptStart(string)
	ConceptEnd(bool)
	DataTable(string)

	Error(string, ...interface{})

	io.Writer
}

Reporter reports the progress of spec execution. It reports 1. Which spec / scenarion / step (if verbose) is currently executing. 2. Status (pass/fail) of the spec / scenario / step (if verbose) once its executed.

func Current

func Current() Reporter

Current returns the current instance of Reporter, if present. Else, it returns a new Reporter.

func NewParallelConsole

func NewParallelConsole(n int) Reporter

NewParallelConsole returns the instance of parallel console reporter

Jump to

Keyboard shortcuts

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