org.specs2

reporter

package reporter

Visibility
  1. Public
  2. All

Type Members

  1. trait ConsoleNotifier extends Notifier

  2. trait ConsoleReporter extends DefaultReporter with TextExporting

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

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

  4. trait DefaultSelection extends ExamplesIsolation with TagSelection with StatusSelection with ExamplesSelection with Selection

    The DefaultSelection trait filters the fragments to execute by filtering Examples:

  5. trait DefaultSequence extends AnyRef

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

  6. trait DefaultStatisticsRepository extends StatisticsRepository with OutputDir

    This repository store the results in one file per specification, in a special directory

  7. case class DescriptionAndExamples[T](description: Description, descriptions: Map[T, Description]) extends Product with Serializable

    Utility class grouping the total description + map of each fragment to its description

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

  9. trait ExamplesIsolation extends AnyRef

    This trait "isolates" examples by replacing their body with another one, created from a clone of the specification.

  10. trait ExamplesSelection extends AnyRef

    This trait filters examples based on their description

  11. 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

  12. trait Exporter extends Exporting

    public trait to create a custom exporter

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

  14. trait HandlerEvents extends AnyRef

    Specific events which can be notified to sbt

  15. trait HtmlExporting extends Exporting with HtmlPrinter with HtmlFileWriter

    Trait for exporting the specification as Html files

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

  17. trait HtmlFileWriter extends OutputDir

  18. trait HtmlPrinter extends AnyRef

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

  19. 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

  20. trait HtmlReporter extends DefaultReporter with HtmlExporting with ConsoleOutput

    Reports a Specification as an Html page

  21. class JUnitDescriptionsFragments extends JUnitDescriptions[Fragment]

    Descriptions for a seq of Fragments to execute

  22. trait JUnitReporter extends ExecutionOrigin with DefaultReporter with Exporters

    The JUnitReporter reports a specification by using a JUnit RunNotifier

  23. trait JUnitXmlExporting extends Exporting with JUnitXmlPrinter

    Trait for exporting the specification as JUnit xml files

  24. trait JUnitXmlPrinter extends AnyRef

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

  25. 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).

  26. trait MarkupExporting extends HtmlExporting

    Trait for exporting the specification as Markup files.

  27. class NoResultOutput extends ResultOutput

    This output can be used for testing

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

  29. trait Notifier extends AnyRef

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

  30. trait NotifierExporting extends Exporting with Exporters

  31. trait NotifierReporter extends DefaultReporter with NotifierExporting

    Report a Specification by notifying execution events to a Notifier

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

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

  33. trait ResultOutput extends AnyRef

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

  34. trait Selection extends AnyRef

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

  35. trait Sequence extends AnyRef

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

  36. class SpecFailureAssertionFailedError extends AssertionFailedError

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

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

  38. trait StatisticsRepository extends AnyRef

  39. trait StatusSelection extends WithDefaultStatisticsRepository

    This trait selects examples based on their previous execution

  40. trait TagSelection extends AnyRef

    This trait selects fragments based on their tags

  41. class TestInterfaceReporter extends ConsoleReporter with HandlerEvents

    Reporter for the test interface defined for sbt

  42. class TestInterfaceResultOutput extends TextResultOutput with TestLoggers

  43. trait TestLoggers extends AnyRef

  44. trait TextExporting extends TextPrinter with Exporting

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

  45. trait TextPrinter extends AnyRef

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

  46. class TextResultOutput extends ResultOutput with ConsoleOutput

    Implementation of the ResultOutput trait as Text

  47. case class TreeToc(rootCode: SpecId, toc: NodeSeq = scala.xml.NodeSeq.Empty) extends Product with Serializable

    Table of contents, represented as a NodeSeq

Value Members

  1. object ApplicableArguments

  2. object ConsoleNotifier extends ConsoleNotifier

  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

  8. object MarkupExporting extends MarkupExporting

  9. object TextExporting extends TextExporting

No Group