org.specs2.reporter

NotifierReporter

trait NotifierReporter extends DefaultReporter with NotifierExporting

Report a Specification by notifying execution events to a Notifier

Linear Supertypes
NotifierExporting, Exporters, DefaultReporter, DefaultStoring, Statistics, DefaultExecutionStrategy, FragmentExecution, DefaultSequence, DefaultSelection, ExamplesSelection, StatusSelection, WithDefaultStatisticsRepository, WithStatisticsRepository, TagSelection, ExamplesIsolation, Reporter, Exporting, Storing, ExecutionStrategy, Sequence, Selection, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. NotifierReporter
  2. NotifierExporting
  3. Exporters
  4. DefaultReporter
  5. DefaultStoring
  6. Statistics
  7. DefaultExecutionStrategy
  8. FragmentExecution
  9. DefaultSequence
  10. DefaultSelection
  11. ExamplesSelection
  12. StatusSelection
  13. WithDefaultStatisticsRepository
  14. WithStatisticsRepository
  15. TagSelection
  16. ExamplesIsolation
  17. Reporter
  18. Exporting
  19. Storing
  20. ExecutionStrategy
  21. Sequence
  22. Selection
  23. AnyRef
  24. Any
Visibility
  1. Public
  2. All

Type Members

  1. type EE = (ExecutingSpecification) ⇒ ExecutedSpecification

    Definition Classes
    Exporters

Abstract Value Members

  1. abstract val notifier: Notifier

    Definition Classes
    NotifierExporting

Concrete Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. implicit def SpecStatsMonoid: Monoid[SpecStats]

    Definition Classes
    Statistics
  7. implicit def SpecsStatisticsMonoid: Monoid[SpecsStatistics]

    Definition Classes
    Statistics
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def copyBody(name: SpecName, body: ⇒ Result, index: Int)(implicit arguments: Arguments): Result

    returns

    an Example which body comes from the execution of that example in a brand new instance of the Specification

    Attributes
    protected
    Definition Classes
    ExamplesIsolation
  11. def customExporter(arguments: Arguments): Option[Exporting]

    Definition Classes
    Exporters
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def execute(implicit arguments: Arguments): (ExecutableSpecification) ⇒ ExecutingSpecification

    execute sequences of Fragments.

    execute sequences of Fragments.

    If the stopOnFail argument is true, we check that the execution is ok before executing the next sequence.

    Definition Classes
    DefaultExecutionStrategy → ExecutionStrategy
  15. def execute(f: Fragment)(implicit arguments: Arguments = Arguments()): Product with Serializable with ExecutedFragment

    execute a Fragment.

    execute a Fragment.

    A Form is executed separately by executing each row and cell, setting the results on each cell

    Definition Classes
    FragmentExecution
  16. def executeBody(body: ⇒ Result)(implicit arguments: Arguments): Result

    This method could be overriden to provide alternate behavior when executing an Example

    This method could be overriden to provide alternate behavior when executing an Example

    Definition Classes
    FragmentExecution
  17. def executeFragment(implicit arguments: Arguments): (Fragment) ⇒ ExecutedFragment

    execute a Fragment.

    execute a Fragment.

    Definition Classes
    FragmentExecution
  18. def export(implicit args: Arguments): (ExecutingSpecification) ⇒ ExecutedSpecification

    returns

    a function exporting ExecutedFragments

    Definition Classes
    NotifierExporting → Exporting
  19. def exportConsole(accept: (String) ⇒ Boolean)(implicit arguments: Arguments): Option[Exporting]

    Definition Classes
    Exporters
  20. def exportCustom(accept: (String) ⇒ Boolean)(implicit arguments: Arguments): Option[Exporting]

    Definition Classes
    Exporters
  21. def exportHtml(accept: (String) ⇒ Boolean)(implicit arguments: Arguments): Option[Exporting]

    Definition Classes
    Exporters
  22. def exportJUnitxml(accept: (String) ⇒ Boolean)(implicit arguments: Arguments): Option[Exporting]

    Definition Classes
    Exporters
  23. def exportNotifier(accept: (String) ⇒ Boolean)(implicit arguments: Arguments): Option[Exporting]

    Definition Classes
    Exporters
  24. def exportToOthers(exporters: Seq[Exporting])(implicit arguments: Arguments): (ExecutingSpecification) ⇒ ExecutedSpecification

    Definition Classes
    Exporters
  25. def exportToOthers(args: Arguments, accept: (String) ⇒ Boolean): (ExecutingSpecification) ⇒ ExecutedSpecification

    Definition Classes
    Exporters
  26. def exportToOthers(arguments: Arguments): (ExecutingSpecification) ⇒ ExecutedSpecification

    Definition Classes
    Exporters
  27. def exporter(condition: Boolean)(e: ⇒ Exporting): Option[Exporting]

    Attributes
    protected
    Definition Classes
    Exporters
  28. def exporters(accept: (String) ⇒ Boolean)(implicit arguments: Arguments): Seq[Exporting]

    Definition Classes
    Exporters
  29. def filter(implicit commandLineArgs: Arguments): (Seq[(Fragment, Arguments, SpecName)]) ⇒ Seq[Fragment]

    returns

    filter fragments depending on the command line arguments and the current arguments in the specification

    Definition Classes
    DefaultSelection
  30. def filterExamples(implicit commandLineArgs: Arguments): (Seq[(Fragment, Arguments, SpecName)]) ⇒ Seq[Fragment]

    the filter method filters examples based on their description, keeping only the ones matching the ex attribute of the arguments object

    the filter method filters examples based on their description, keeping only the ones matching the ex attribute of the arguments object

    Attributes
    protected
    Definition Classes
    ExamplesSelection
  31. def filterPrevious(implicit commandLineArgs: Arguments): (Seq[(Fragment, Arguments, SpecName)]) ⇒ Seq[(Fragment, Arguments, SpecName)]

    returns

    fragments according to their previous execution state

    Definition Classes
    StatusSelection
  32. def filterTags(implicit commandLineArgs: Arguments): (Seq[(Fragment, Arguments, SpecName)]) ⇒ Seq[(Fragment, Arguments, SpecName)]

    returns

    filter fragments according to tags by collecting tags as applicable to each fragment and applying them

    Definition Classes
    TagSelection
  33. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def foldAll(fs: Seq[ExecutedFragment]): SpecsStatistics

    Definition Classes
    Statistics
  35. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  36. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  37. def includePrevious(specName: SpecName, e: Example, args: Arguments): Boolean

    Attributes
    protected
    Definition Classes
    StatusSelection
  38. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  39. def isolateExamples(implicit arguments: Arguments): (Seq[(Fragment, Arguments, SpecName)]) ⇒ Seq[Fragment]

    This function "clones" the body of each example if the applicable arguments indicate that the specification should be isolated

    This function "clones" the body of each example if the applicable arguments indicate that the specification should be isolated

    Attributes
    protected
    Definition Classes
    ExamplesIsolation
  40. def isolateSteps(fragments: Seq[Fragment])(implicit arguments: Arguments): Seq[FragmentSeq]

    Attributes
    protected
    Definition Classes
    DefaultSequence
  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. def notifierExporter(arguments: Arguments): Option[Exporting]

    Definition Classes
    Exporters
  43. final def notify(): Unit

    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  45. def optionalExporter(condition: Boolean)(e: Option[Exporting]): Option[Exporting]

    Attributes
    protected
    Definition Classes
    Exporters
  46. def report(spec: SpecificationStructure)(implicit arguments: Arguments): ExecutedSpecification

    report Fragments by:

    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

    Definition Classes
    Reporter
  47. lazy val repository: StatisticsRepository

    Attributes
    protected
    Definition Classes
    WithDefaultStatisticsRepository → WithStatisticsRepository
  48. def select(fragments: Seq[Fragment])(implicit arguments: Arguments = Arguments()): Seq[Fragment]

    select function returning a filtered seq of Fragments

    select function returning a filtered seq of Fragments

    Definition Classes
    DefaultSelection
  49. def select(implicit arguments: Arguments): (SpecificationStructure) ⇒ SpecificationStructure

    select function returning a filtered seq of Fragments

    select function returning a filtered seq of Fragments

    Definition Classes
    DefaultSelectionSelection
  50. def sequence(specName: SpecName, fragments: Seq[Fragment])(implicit arguments: Arguments = Arguments()): Seq[FragmentSeq]

    the sequence method returns sequences of fragments which can be executed concurrently.

    the sequence method returns sequences of fragments which can be executed concurrently. Among the constraints to respect, any Step Fragment must be executed before any following Example Fragment, so that "first" and "last" actions are executed properly in a Specification

    If the arguments specify that the specification is sequential, then each fragment will be executed individually

    Definition Classes
    DefaultSequence
  51. def sequence(implicit arguments: Arguments): (SpecificationStructure) ⇒ ExecutableSpecification

    sequence function returning an ordered seq of seq of Fragments

    sequence function returning an ordered seq of seq of Fragments

    Definition Classes
    DefaultSequence
  52. def setStatsOnSpecEndFragments(implicit args: Arguments): ((ExecutedFragment, Stats)) ⇒ ExecutedFragment

    set the statistics on SpecEndFragments after they've been computed by the StatisticsReducer Those statistics are updated from previously executed statistics to calculate trends

    set the statistics on SpecEndFragments after they've been computed by the StatisticsReducer Those statistics are updated from previously executed statistics to calculate trends

    Definition Classes
    DefaultStoring
  53. def store(implicit args: Arguments): (ExecutingSpecification) ⇒ ExecutingSpecification

    returns

    a function storing ExecutedFragments

    Definition Classes
    DefaultStoring → Storing
  54. def storeResults: ((SpecName, Seq[(SpecName, ExecutedResult)])) ⇒ NotifierReporter.this.repository.type

    store the results by spec name

    store the results by spec name

    Attributes
    protected
    Definition Classes
    DefaultStoring
  55. def storeStats: ((ExecutedFragment, SpecName)) ⇒ ExecutedFragment

    store the statistics: - for SpecEnd -> put the stats in the repository - for a SpecStart that's a link -> read the status of the previous execution

    store the statistics: - for SpecEnd -> put the stats in the repository - for a SpecStart that's a link -> read the status of the previous execution

    Attributes
    protected
    Definition Classes
    DefaultStoring
  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  57. def tags(fragments: Seq[Fragment]): Seq[TaggingFragment]

    From a Seq of Fragments create a seq of corresponding tags for each fragment, considering that:

    From a Seq of Fragments create a seq of corresponding tags for each fragment, considering that:

    • a TaggedAs fragment is applicable to the the previous fragment
    • a Tag fragment is applicable to the the next fragment
    • a AsSection fragment is applicable to the the previous fragment to the next AsSection fragment with the same name
    • a Section fragment is applicable to the the next fragment to the next Section fragment with the same name
    Definition Classes
    TagSelection
  58. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from NotifierExporting

Inherited from Exporters

Inherited from DefaultReporter

Inherited from DefaultStoring

Inherited from Statistics

Inherited from DefaultExecutionStrategy

Inherited from FragmentExecution

Inherited from DefaultSequence

Inherited from DefaultSelection

Inherited from ExamplesSelection

Inherited from StatusSelection

Inherited from WithDefaultStatisticsRepository

Inherited from WithStatisticsRepository

Inherited from TagSelection

Inherited from ExamplesIsolation

Inherited from Reporter

Inherited from Exporting

Inherited from Storing

Inherited from ExecutionStrategy

Inherited from Sequence

Inherited from Selection

Inherited from AnyRef

Inherited from Any