Package

org.specs2

reporter

Permalink

package reporter

Visibility
  1. Public
  2. All

Type Members

  1. trait BufferedLineLogger extends LineLogger

    Permalink

    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

    Permalink

    Notifier that prints out to the console

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

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

    Permalink
  5. trait HtmlBodyPrinter extends AnyRef

    Permalink

    Create the body of an html file reporting a specification execution

  6. case class HtmlOptions(outDir: DirectoryPath, baseDir: DirectoryPath, template: FilePath, variables: Map[String, String], noStats: Boolean, search: Boolean, warnMissingSeeRefs: Boolean, tocEntryMaxSize: Int, toc: Boolean) extends Product with Serializable

    Permalink

    Options for the Html generation

  7. trait HtmlPrinter extends Printer

    Permalink

    Printer for html files

  8. trait HtmlUrls extends AnyRef

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

    Permalink
  10. trait JUnitDescriptions extends ExecutionOrigin

    Permalink

    Create Description objects from the specification fragments and arrange them as a tree

  11. trait JUnitPrinter extends Printer

    Permalink

    The JUnitPrinter sends notifications to JUnit's RunNotifier

  12. trait JUnitXmlPrinter extends Printer

    Permalink

    The JUnitXmlPrinter creates an xml file with the specification execution results

  13. trait LineLogger extends AnyRef

    Permalink

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

  14. sealed trait LogLine extends AnyRef

    Permalink

    ADT for logging strings as info, warning or errors

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

    Permalink
  16. trait MarkdownPrinter extends Printer

    Permalink

    This trait is not a full fledged markdown printer yet

  17. trait NoStdOut extends Around

    Permalink

    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

  18. trait NoStdOutAroundEach extends AroundEach

    Permalink

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

  19. trait Notifier extends AnyRef

    Permalink

    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.

  20. case class Pandoc(verbose: Boolean, executable: FilePath, inputFormat: String, outputFormat: String) extends Product with Serializable

    Permalink

    Representation of the Pandoc executable

  21. trait Printer extends AnyRef

    Permalink

    A Printer is essentially defined by a FoldM sink that:

    A Printer is essentially defined by a FoldM sink that:

    • can run a Process[Task, Fragment]
    • uses a scalaz-stream Sink for side-effects and
    • accumulates state for final reporting

    See TextPrinter for an example of such a Printer

  22. trait Reporter extends AnyRef

    Permalink

    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

  23. trait SbtEvents extends AnyRef

    Permalink

    Sbt events for a given TaskDef and event handler

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

    Permalink

    Line logger using sbt's loggers

  25. trait SbtPrinter extends Printer

    Permalink

    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

  26. trait SearchPage extends AnyRef

    Permalink

    Functions used to create an index and a search page for the generated html pages

  27. trait ShowDescription extends AnyRef

    Permalink

    Implementation of the Show trait to allow the drawing of Tree[Description] with scalaz

  28. trait SilentNotifier extends Notifier

    Permalink

    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

  29. class SpecFailureAssertionFailedError extends AssertionFailedError

    Permalink

    This class refines the AssertionFailedError from junit and provides the stackTrace of an exception which occurred during the specification execution

  30. trait TextPrinter extends Printer

    Permalink

    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

    Permalink
  2. object HtmlBodyPrinter extends HtmlBodyPrinter

    Permalink
  3. object HtmlOptions extends Serializable

    Permalink
  4. object HtmlPrinter extends HtmlPrinter

    Permalink
  5. object HtmlUrls extends HtmlUrls

    Permalink
  6. object JUnitDescriptions extends JUnitDescriptions

    Permalink
  7. object JUnitXmlPrinter extends JUnitXmlPrinter

    Permalink
  8. object LineLogger

    Permalink
  9. object LogLine

    Permalink
  10. object MarkdownOptions extends Serializable

    Permalink
  11. object MarkdownPrinter extends MarkdownPrinter

    Permalink
  12. object NoStdOut extends NoStdOut

    Permalink
  13. object NotifierPrinter

    Permalink

    A Printer can be created from a Notifier implementation

  14. object NullOutputStream extends OutputStream

    Permalink
  15. object Pandoc extends Serializable

    Permalink
  16. object Printer

    Permalink

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

  17. object Reporter extends Reporter

    Permalink
  18. object SbtPrinter

    Permalink
  19. object SearchPage extends SearchPage

    Permalink
  20. object ShowDescription extends ShowDescription

    Permalink
  21. object TextPrinter extends TextPrinter

    Permalink
  22. object noOut extends PrintStream

    Permalink
  23. object stdOut extends PrintStream

    Permalink

Ungrouped