org.specs2

reporter

package reporter

Visibility
  1. Public
  2. All

Type Members

  1. trait ConsoleReporter extends DefaultReporter with TextExporting

    The console reporter executes a Specification and exports the results to the Console Output:

  2. trait DefaultReporter extends Reporter with DefaultSelection with DefaultSequence with DefaultExecutionStrategy with DefaultStoring

  3. trait DefaultSelection extends WithDefaultStatisticsRepository

    The DefaultSelection trait filters the fragments to execute by filtering Examples according to their names

  4. trait DefaultSequence extends AnyRef

    The DefaultSequence trait sorts the Fragments by making sure Steps will be executed before Examples

  5. case class DescriptionAndExamples [T] (description: Description, executions: Stream[T]) extends Product with Serializable

    Utility class grouping the total description + fragments to execute for each Description

  6. case class EndOfArguments [T] (value: T, name: SpecName) extends ApplicableArguments[T] with Product with Serializable

  7. case class ExecutableSpecification (name: SpecName, arguments: Arguments, fs: Seq[FragmentSeq]) extends Product with Serializable

    this case class transports the fragments to execute, grouped in sequences of examples which can be executed concurrently

  8. case class FragmentSeq (fragments: Seq[Fragment]) extends Product with Serializable

  9. trait HandlerEvents extends AnyRef

    Specific events which can be notified to sbt

  10. trait HtmlExporting extends Exporting with HtmlPrinter with HtmlFileWriter

    Trait for exporting the specification as Html files

  11. case class HtmlFile (url: String, xml: NodeSeq) extends Product with Serializable

  12. trait HtmlFileWriter extends OutputDir

  13. trait HtmlPrinter extends AnyRef

    The Html printer is used to create an Html report of an executed specification.

  14. trait HtmlReportOutput extends AnyRef

    This trait defines how the specification elements should be translated as xhtml An implementation of that trait must accumulate the results and return the created xhmtl with the xml method

  15. trait HtmlReporter extends DefaultReporter with HtmlExporting with ConsoleOutput

    Reports a Specification as an Html page

  16. trait JUnitXmlExporting extends Exporting with JUnitXmlPrinter

    Trait for exporting the specification as JUnit xml files

  17. trait JUnitXmlPrinter extends AnyRef

    The JUnitXml printer is used to create a JUnit xml report of an executed specification.

  18. trait JUnitXmlReporter extends DefaultReporter with JUnitXmlExporting with ConsoleOutput

    This trait execute specifications and exports them as JUnit xml files in the target/test-reports directory (by default).

  19. case class NoStartOfArguments [T] (value: T) extends ApplicableArguments[T] with Product with Serializable

  20. trait Notifier extends AnyRef

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

  21. trait NotifierExporting extends Exporting

  22. trait NotifierReporter extends DefaultReporter with NotifierExporting

    Report a Specification by notifying execution events to a Notifier

  23. trait Reporter extends Selection with Sequence with ExecutionStrategy with Storing with Exporting

    A Reporter will report the execution of a Specification following 3 steps:

  24. trait ResultOutput extends AnyRef

    This traits provides specialised print methods for message representing different types of results.

  25. trait Selection extends AnyRef

    The Selection trait implements the logic for filtering the fragments to execute

  26. trait Sequence extends AnyRef

    The Sequence trait implements the logic for the fragments to execute according to their dependencies

  27. case class StartOfArguments [T] (value: T, name: SpecName, args: Arguments) extends ApplicableArguments[T] with Product with Serializable

  28. class TestInterfaceReporter extends ConsoleReporter with HandlerEvents

    Reporter for the test interface defined for sbt

  29. class TestInterfaceResultOutput extends TextResultOutput with TestLoggers

  30. trait TestLoggers extends AnyRef

  31. trait TextExporting extends TextPrinter with Exporting

    This trait prints the executed fragments results and statistics at the end of the specification

  32. trait TextPrinter extends AnyRef

    This trait reduces a list of ExecutedFragments to a list of PrintLines.

  33. class TextResultOutput extends ResultOutput with ConsoleOutput

    Implementation of the ResultOutput trait as Text

  34. case class TreeToc (rootCode: Int, toc: NodeSeq) extends Product with Serializable

    Table of contents, represented as a NodeSeq

Value Members

  1. object ApplicableArguments extends AnyRef

  2. object ConsoleNotifier extends Notifier

  3. object DefaultSelection extends DefaultSelection

  4. object FragmentSeq extends Product with Serializable

  5. object HandlerEvents extends HandlerEvents

  6. object HtmlExporting extends HtmlExporting

  7. object JUnitXmlExporting extends JUnitXmlExporting