org.specs2.reporter

TextPrinter

trait TextPrinter extends Printer

Prints the result of a specification execution to the console (using the line logger provided by the environment)

At the end of the run the specification statistics are displayed as well.

Linear Supertypes
Printer, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TextPrinter
  2. Printer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def emitNone: Process[Task, LogLine]

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(env: Env, specifications: List[SpecificationStructure]): Action[Unit]

    Definition Classes
    TextPrinterPrinter
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fold(env: Env, spec: SpecStructure): Fold[Fragment] { ... /* 2 definitions in type refinement */ }

    Definition Classes
    TextPrinterPrinter
  14. def fragmentsSink(logger: LineLogger, header: SpecHeader): Sink[Task, LogLine]

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. def indentText(text: String, indentation: Int, indentationSize: Int): String

  18. def indentationSize(args: Arguments): Int

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def location(r: ResultStackTrace, args: Arguments): String

  21. def loggerSink(logger: LineLogger): Sink[Task, LogLine]

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def prepare(env: Env, specifications: List[SpecificationStructure]): Action[Unit]

    Definition Classes
    TextPrinterPrinter
  26. def print(env: Env): (SpecStructure) ⇒ Task[Unit]

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

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

    Definition Classes
    Printer
  27. def printError(show: String, err: Error, args: Arguments): Process[[x]Task[x], LogLine]

  28. def printExecutable(text: String, execution: Execution, args: Arguments, indentation: Int): Process[Task, LogLine]

    print an executed fragment: example, step, action

  29. def printFailure(show: String, failure: Failure, args: Arguments): Process[[x]Task[x], LogLine]

  30. def printFailureDetails(args: Arguments): (Details) ⇒ Process[Task, LogLine]

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

  31. def printFragment(args: Arguments): ((Fragment, (Stats, Int))) ⇒ Process[Task, LogLine]

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

  32. def printHeader: (SpecHeader) ⇒ Process[Task, LogLine]

  33. def printMessage(args: Arguments, description: String, as: (String) ⇒ LogLine): (Result with ResultStackTrace) ⇒ Process[Task, LogLine]

  34. def printNewLine: Process0[EmptyLine.type]

  35. def printOther(show: String, other: Result, args: Arguments): Process[Nothing, InfoLine]

  36. def printPending(show: String, pending: Pending, args: Arguments): Process[Nothing, InfoLine]

  37. def printSkipped(show: String, skipped: Skipped, args: Arguments): Process[Nothing, InfoLine]

  38. def printStacktrace(args: Arguments, print: Boolean, as: (String) ⇒ LogLine): (Result with ResultStackTrace) ⇒ Process[Task, LogLine]

  39. def printStats(header: SpecHeader, args: Arguments): (Stats) ⇒ Process[Task, LogLine]

  40. def printSuccess(show: String, success: Success, args: Arguments): Process[Nothing, InfoLine]

  41. def printSummary(descriptions: (String, Seq[String])*): Process[Task, LogLine]

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

  42. def printValues(description: String, values: Seq[Any]): Process[Task, LogLine]

    show values as a string with a description

  43. def run(env: Env): (SpecStructure) ⇒ Unit

    run and shutdown the environment

  44. def showTime(description: String, execution: Execution, args: Arguments): String

    show execution times if the showtimes argument is true

  45. def shutdown: (LineLogger) ⇒ Task[Unit]

  46. def start(logger: LineLogger, header: SpecHeader): Task[LineLogger]

  47. def statusAndDescription(text: String, result: Result)(args: Arguments): String

  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  49. def toString(): String

    Definition Classes
    AnyRef → Any
  50. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Printer

Inherited from AnyRef

Inherited from Any

Ungrouped