org.specs2

reporter

package reporter

Visibility
  1. Public
  2. All

Type Members

  1. trait AllExporting extends Reporter with Exporters

    This trait can be mixed in a reporter to allow the exporting of an executed specification to many different formats: html, junit xml, markdown, custom,.

  2. trait ConsoleNotifier extends Notifier

  3. trait ConsoleReporter extends DefaultReporter with TextExporting

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

  4. trait DefaultExecutionStrategy extends ExecutionStrategy with FragmentExecution

    This trait uses Scalaz promises to execute Fragments concurrently

  5. trait DefaultReporter extends Reporter with Executor with DefaultSelection with DefaultSequence with DefaultExecutionStrategy with DefaultStoring

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

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

  7. trait DefaultSequence extends AnyRef

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

  8. trait DefaultStatisticsRepository extends StatisticsRepository with OutputDir

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

  9. trait DefaultStoring extends Storing with Statistics with WithDefaultStatisticsRepository

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

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

  12. trait Events extends AnyRef

  13. trait ExamplesIsolation extends AnyRef

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

  14. trait ExamplesSelection extends AnyRef

    This trait filters examples based on their description

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

  16. trait Executor extends DefaultSelection with DefaultSequence with DefaultExecutionStrategy with DefaultStoring

  17. trait Exporter extends Exporting

    public trait to create a custom exporter

  18. case class FinalResultsExporter(taskDef: TaskDef, handler: EventHandler, loggers: Array[Logger]) extends SbtExporter with Product with Serializable

    This reporter will just notify the test interface about test results for the end statistics

  19. case class FragmentSeq(fragments: Seq[Fragment], arguments: Arguments) extends Product with Serializable

  20. trait HandlerEvents extends AnyRef

    Specific events which can be notified to sbt

  21. trait HtmlExporting extends Exporting with HtmlPrinter with HtmlFileWriter

    Trait for exporting the specification as Html files

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

  23. trait HtmlFileWriter extends OutputDir

  24. trait HtmlPrinter extends AnyRef

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

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

  26. trait HtmlReporter extends DefaultReporter with HtmlExporting with ConsoleOutput

    Reports a Specification as an Html page

  27. class JUnitDescriptionsFragments extends JUnitDescriptions[Fragment]

    Descriptions for a seq of Fragments to execute

  28. trait JUnitReporter extends ExecutionOrigin with DefaultReporter with Exporters

    The JUnitReporter reports a specification by using a JUnit RunNotifier

  29. trait JUnitXmlExporting extends Exporting with JUnitXmlPrinter

    Trait for exporting the specification as JUnit xml files

  30. trait JUnitXmlPrinter extends AnyRef

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

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

  32. case class Levels[T](levelsSeq: Vector[Level[T]] = Vector[Level[T]]()) extends Product with Serializable

    This class computes the 'level' of a given fragment.

  33. trait LineLogger extends AnyRef

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

  34. trait LineLoggerOutput extends ResultOutput with LineLogger

    This outputs the textual results of an executed specification to a LineLogger

  35. trait MarkdownExporting extends HtmlExporting

    Trait for exporting the specification as Markup files.

  36. trait MarkdownReporter extends DefaultReporter with MarkdownExporting with ConsoleOutput

    Reports a Specification as a markdown page

  37. trait MessagesNotifier extends Notifier with StringOutput

  38. trait NoExporting extends Exporter

    Null implementation for the Exporting trait

  39. class NoResultOutput extends ResultOutput

    This output can be used for testing

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

  41. trait Notifier extends AnyRef

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

  42. trait NotifierExporting extends Exporting with Exporters

  43. trait NotifierReporter extends DefaultReporter with NotifierExporting

    Report a Specification by notifying execution events to a Notifier

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

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

  45. trait ResultOutput extends AnyRef

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

  46. class SbtConsoleReporter extends ConsoleReporter with AllExporting

    Reporter for the test interface defined for sbt

  47. class SbtExporter extends TextExporting with Events

  48. trait SbtLoggers extends AnyRef

  49. class SbtResultOutput extends LineLoggerOutput with SbtLoggers

  50. trait Selection extends AnyRef

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

  51. trait Sequence extends AnyRef

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

  52. class SpecFailureAssertionFailedError extends AssertionFailedError

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

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

  54. trait StatisticsRepository extends AnyRef

  55. trait StatusSelection extends WithDefaultStatisticsRepository

    This trait selects examples based on their previous execution

  56. trait Storing extends AnyRef

    This trait stores the results of an executed specification It also updates the statistics of:

  57. trait TagSelection extends TagsAssociation

    This trait selects fragments based on their tags

  58. class TestInterfaceReporter extends ConsoleReporter with HandlerEvents

    Reporter for the test interface defined for sbt

  59. class TestInterfaceResultOutput extends LineLoggerOutput with TestLoggers

  60. trait TestLoggers extends AnyRef

  61. trait TextExporting extends TextPrinter with Exporting

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

  62. trait TextPrinter extends AnyRef

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

  63. class TextReporter extends DefaultReporter with TextExporting

    This reporter can be used to get the result of a specification execution as a String

  64. class TextResultOutput extends LineLoggerOutput with ConsoleOutput

    Implementation of the ResultOutput trait as Text

  65. case class TreeToc(rootCode: SpecId, toc: NodeSeq = 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 MarkdownExporting extends MarkdownExporting

  9. object MessagesNotifier extends MessagesNotifier

  10. object NoExporting extends NoExporting

  11. object TextExporting extends TextExporting

Ungrouped