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 EndOfArguments[T](value: T, name: SpecName) extends ApplicableArguments[T] with Product with Serializable

  11. trait Events extends AnyRef

  12. trait ExamplesIsolation extends AnyRef

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

  13. trait ExamplesSelection extends AnyRef

    This trait filters examples based on their description

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

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

  16. trait Exporter extends Exporting

    public trait to create a custom exporter

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

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

  19. trait HandlerEvents extends AnyRef

    Specific events which can be notified to sbt

  20. trait LineLogger extends AnyRef

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

  21. trait LineLoggerOutput extends ResultOutput with LineLogger

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

  22. trait MessagesNotifier extends Notifier with StringOutput

  23. trait NoExporting extends Exporter

    Null implementation for the Exporting trait

  24. class NoResultOutput extends ResultOutput

    This output can be used for testing

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

  26. trait Notifier extends AnyRef

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

  27. trait NotifierExporting extends Exporting with Exporters

  28. trait NotifierReporter extends DefaultReporter with NotifierExporting

    Report a Specification by notifying execution events to a Notifier

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

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

  30. trait ResultOutput extends AnyRef

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

  31. class SbtConsoleReporter extends ConsoleReporter with AllExporting

    Reporter for the test interface defined for sbt

  32. class SbtExporter extends TextExporting with Events

  33. trait SbtLoggers extends AnyRef

  34. class SbtResultOutput extends LineLoggerOutput with SbtLoggers

  35. trait Selection extends AnyRef

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

  36. trait Sequence extends AnyRef

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

  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 Storing extends AnyRef

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

  41. trait TagSelection extends TagsAssociation

    This trait selects fragments based on their tags

  42. class TestInterfaceReporter extends ConsoleReporter with HandlerEvents

    Reporter for the test interface defined for sbt

  43. class TestInterfaceResultOutput extends LineLoggerOutput with TestLoggers

  44. trait TestLoggers extends AnyRef

  45. trait TextExporting extends TextPrinter with Exporting

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

  46. trait TextPrinter extends AnyRef

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

  47. class TextReporter extends DefaultReporter with TextExporting

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

  48. class TextResultOutput extends LineLoggerOutput with ConsoleOutput

    Implementation of the ResultOutput trait as Text

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 MessagesNotifier extends MessagesNotifier

  7. object NoExporting extends NoExporting

  8. object TextExporting extends TextExporting

Ungrouped