org.specs2.reporter

Reporter

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

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

1. an extraction of the Fragments to report (like creating Descriptions for JUnit) * filtering out some elements if necessary

2. an ordering of the Fragments to execute: * action steps must be executed in order * dependency between Fragments can be specified * other Fragments can be executed concurrently (unless specified otherwise)

3. a reporting to: * the console (ConsoleRunner or sbt) * a listener object (junit or sbt) * a file (html, xml, junit-report)

Linear Supertypes
Exporting, Storing, ExecutionStrategy, Sequence, Selection, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Reporter
  2. Exporting
  3. Storing
  4. ExecutionStrategy
  5. Sequence
  6. Selection
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Type Members

  1. type ExportType

    Attributes
    abstract
    Definition Classes
    Exporting

Abstract Value Members

  1. def execute (implicit arguments: Arguments): (Seq[FragmentSeq]) ⇒ Seq[ExecutedFragment]

    Attributes
    abstract
    Definition Classes
    ExecutionStrategy
  2. def export (s: SpecificationStructure)(implicit args: Arguments): (Seq[ExecutedFragment]) ⇒ ExportType

    returns

    a function exporting ExecutedFragments

    Attributes
    abstract
    Definition Classes
    Exporting
  3. def select (implicit arguments: Arguments): (Fragments) ⇒ Seq[Fragment]

    select function returning a filtered and ordered seq of seq of Fragments

    select function returning a filtered and ordered seq of seq of Fragments

    Attributes
    abstract
    Definition Classes
    Selection
  4. def sequence (implicit arguments: Arguments): (Seq[Fragment]) ⇒ Seq[FragmentSeq]

    select function returning a filtered and ordered seq of seq of Fragments

    select function returning a filtered and ordered seq of seq of Fragments

    Attributes
    abstract
    Definition Classes
    Sequence
  5. def store (implicit args: Arguments): (Seq[ExecutedFragment]) ⇒ Seq[ExecutedFragment]

    returns

    a function storing ExecutedFragments

    Attributes
    abstract
    Definition Classes
    Storing

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  9. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  12. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  13. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  14. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  16. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  17. def report (spec: SpecificationStructure)(implicit arguments: Arguments): Reporter.this.type

    report Fragments by: * extracting arguments from the Fragments * selecting them * sequencing fragments in groups * executing fragments * exporting the results to the output format

    report Fragments by: * extracting arguments from the Fragments * selecting them * sequencing fragments in groups * executing fragments * exporting the results to the output format

    returns

    the reporter

  18. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  19. def toString (): String

    Definition Classes
    AnyRef → Any
  20. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Exporting

Inherited from Storing

Inherited from ExecutionStrategy

Inherited from Sequence

Inherited from Selection

Inherited from AnyRef

Inherited from Any