TextPrinter

org.specs2.reporter.TextPrinter
See theTextPrinter companion trait
object TextPrinter extends TextPrinter

Attributes

Companion
trait
Graph
Supertypes
trait TextPrinter
trait Printer
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def finalize(env: Env, specifications: List[SpecStructure]): Action[Unit]

Attributes

Inherited from:
TextPrinter
def indentText(text: String, indentation: Int, indentationSize: Int): String

Attributes

Inherited from:
TextPrinter
def indentationSize(args: Arguments): Int

Attributes

Inherited from:
TextPrinter
def linesLoggerSink(logger: LineLogger, header: SpecHeader, args: Arguments): AsyncSink[List[LogLine]]

Attributes

Inherited from:
TextPrinter
def location(r: ResultStackTrace, args: Arguments): String

Attributes

Inherited from:
TextPrinter
def prepare(env: Env, specifications: List[SpecStructure]): Action[Unit]

Attributes

Inherited from:
TextPrinter
def printError(show: String, err: Error, args: Arguments): List[LogLine]

Attributes

Inherited from:
TextPrinter
def printExecutable(description: Description, result: Result, timer: SimpleTimer, args: Arguments, indentation: Int): List[LogLine]

print an executed fragment: example, step, action

print an executed fragment: example, step, action

Attributes

Inherited from:
TextPrinter
def printFailure(show: String, failure: Failure, args: Arguments): List[LogLine]

Attributes

Inherited from:
TextPrinter
def printFailureDetails(args: Arguments): Details => List[LogLine]

If the failure contains the expected and actual values, display them

If the failure contains the expected and actual values, display them

Attributes

Inherited from:
TextPrinter
def printFinalStats(spec: SpecStructure, args: Arguments, logger: LineLogger): (((Stats, Int), SimpleTimer)) => Action[Unit]

Attributes

Inherited from:
TextPrinter
def printFragment(args: Arguments): ((Fragment, ((Stats, Int), SimpleTimer))) => Action[List[LogLine]]

transform a stream of fragments into a stream of strings for printing

transform a stream of fragments into a stream of strings for printing

Attributes

Inherited from:
TextPrinter
def printHeader(args: Arguments): SpecHeader => List[LogLine]

Attributes

Inherited from:
TextPrinter
def printMessage(args: Arguments, description: String, as: String => LogLine): (Result & ResultStackTrace) => List[LogLine]

Attributes

Inherited from:
TextPrinter
def printNewLine: List[EmptyLine.type]

Attributes

Inherited from:
TextPrinter
def printOther(show: String, other: Result, args: Arguments): List[LogLine]

Attributes

Inherited from:
TextPrinter
def printPending(show: String, pending: Pending, args: Arguments): List[LogLine]

Attributes

Inherited from:
TextPrinter
def printSkipped(show: String, skipped: Skipped, args: Arguments): List[LogLine]

Attributes

Inherited from:
TextPrinter
def printSpecification(env: Env): SpecificationStructure => Action[Unit]

convenience method to print a SpecificationStructure using the printer's Fold

convenience method to print a SpecificationStructure using the printer's Fold

Attributes

Inherited from:
Printer
def printStacktrace(args: Arguments, print: Boolean, as: String => LogLine): (Result & ResultStackTrace) => List[LogLine]

Attributes

Inherited from:
TextPrinter
def printStats(header: SpecHeader, args: Arguments, stats: Stats, timer: SimpleTimer): List[LogLine]

Attributes

Inherited from:
TextPrinter
def printSuccess(show: String, success: Success, args: Arguments): List[LogLine]

Attributes

Inherited from:
TextPrinter
def printSummary(descriptions: (String, Seq[String])*): List[FailureLine]

print a short summary of differences between Seqs, Sets or Maps

print a short summary of differences between Seqs, Sets or Maps

Attributes

Inherited from:
TextPrinter
def printValues(description: String, values: Seq[Any]): List[FailureLine]

show values as a string with a description

show values as a string with a description

Attributes

Inherited from:
TextPrinter
def run(env: Env): SpecStructure => Unit

run a specification

run a specification

Attributes

Inherited from:
TextPrinter
def showTime(description: String, timer: SimpleTimer, args: Arguments): String

show execution times if the showtimes argument is true

show execution times if the showtimes argument is true

Attributes

Inherited from:
TextPrinter
def sink(env: Env, spec: SpecStructure): AsyncSink[Fragment]

Attributes

Inherited from:
TextPrinter
def start(logger: LineLogger, header: SpecHeader, args: Arguments): Action[LineLogger]

Attributes

Inherited from:
TextPrinter
def statusAndDescription(text: String, result: Result)(args: Arguments): String

Attributes

Inherited from:
TextPrinter