org.specs2

reporter

package reporter

Visibility
  1. Public
  2. All

Type Members

  1. trait BufferedLineLogger extends LineLogger

    This line logger tries to respect line breaks in the original text.

    This line logger tries to respect line breaks in the original text.

    So if the original text is: Hello world\nHow are you? and we call infoLog("Hello world\n"); infoLog("How are you?")

    Then there will be only 2 lines displayed and not 3 (2 for the first infoLog, 1 for the second one)

  2. class ConsoleNotifier extends Notifier

    Notifier that prints out to the console

  3. case class ErrorLine(s: String) extends LogLine with Product with Serializable

  4. case class FailureLine(s: String) extends LogLine with Product with Serializable

  5. case class InfoLine(s: String) extends LogLine with Product with Serializable

  6. trait LineLogger extends AnyRef

    Logger with info, failure, error where each new message is displayed on a new line

  7. sealed trait LogLine extends AnyRef

    ADT for logging strings as info, warning or errors

  8. case class MarkdownOptions(outDir: DirectoryPath, extension: String) extends Product with Serializable

  9. trait MarkdownPrinter extends Printer

    This trait is not a full fledged markdown printer yet

  10. trait NoStdOut extends Around

    This trait allows to remove any console display during the execution of an example

    This trait allows to remove any console display during the execution of an example

    Of course it needs to be understood that the output might be completely messed up when executing specifications and examples concurrently

  11. trait NoStdOutAroundEach extends AroundEach

    This trait allows to remove any console display during the execution of the examples of a Specification

  12. trait Notifier extends AnyRef

    This trait can be used for any event concerning the execution of examples seen as a Tree of Fragments.

    This trait can be used for any event concerning the execution of examples seen as a Tree of Fragments.

    A pair of contextStart/contextEnd calls delimits a sequence of children in that tree.

  13. trait Printer extends AnyRef

    A Printer is essentially defined by a Fold that:

    A Printer is essentially defined by a Fold that:

    • can run a Process[Task, Fragment]
    • uses a Sink for side-effects and
    • accumulates state for final reporting
  14. trait Reporter extends AnyRef

    A reporter is responsible for

    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

  15. trait SbtEvents extends AnyRef

    Sbt events for a given TaskDef and event handler

  16. case class SbtLineLogger(loggers: Array[Logger]) extends BufferedLineLogger with Product with Serializable

    Line logger using sbt's loggers

  17. trait SbtPrinter extends Printer

    Text printer for Sbt

    Text printer for Sbt

    It delegates the console printing to a normal text printer but using the Sbt loggers It also publishes events (success, error, skipped, pending) to Sbt

  18. trait SilentNotifier extends Notifier

    Notifier which does not notify at all

    Notifier which does not notify at all

    It can be subclassed so that just one method is overridden

  19. trait TextPrinter extends Printer

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

    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.

Value Members

  1. object EmptyLine extends LogLine with Product with Serializable

  2. object LineLogger

  3. object LogLine

  4. object MarkdownOptions extends Serializable

  5. object MarkdownPrinter extends MarkdownPrinter

  6. object NoStdOut extends NoStdOut

  7. object NotifierPrinter

    A Printer can be created from a Notifier implementation

  8. object NullOutputStream extends OutputStream

  9. object Printer

    specs2 built-in printers and creation methods based on the command line arguments

  10. object Reporter extends Reporter

  11. object SbtPrinter

  12. object TextPrinter extends TextPrinter

  13. object noOut extends PrintStream

  14. object stdOut extends PrintStream

Ungrouped