Reporter

org.specs2.reporter.Reporter
See theReporter companion object
trait Reporter

A reporter is responsible for

  • selecting printers based on the command-line arguments
  • executing the specification
  • passing it to each printer for printing

It is also responsible for saving the specification state at the end of the run

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Reporter.type

Members list

Value members

Concrete methods

def finalize(env: Env, printers: List[Printer]): List[SpecStructure] => Action[Unit]
def prepare(env: Env, printers: List[Printer]): List[SpecStructure] => Action[Unit]
def report(env: Env, printers: List[Printer]): SpecStructure => Action[Stats]

report 1 spec structure with the given printers first find and sort the referenced specifications and report them

report 1 spec structure with the given printers first find and sort the referenced specifications and report them

Attributes

def statsStoreSink(env: Env, spec: SpecStructure): AsyncSink[Fragment]

Use a Fold to store the stats of each example + the stats of the specification

Use a Fold to store the stats of each example + the stats of the specification

Attributes