Reporter

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

Companion:
object
class Object
trait Matchable
class Any
object Reporter.type

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

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