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 ¶
NewParallelConsole returns the instance of parallel console reporter
Click to show internal directories.
Click to hide internal directories.