org.specs2.reporter

JUnitReporter

trait JUnitReporter extends ExecutionOrigin with DefaultReporter with Exporters

The JUnitReporter reports a specification by using a JUnit RunNotifier

To do so, it uses most of the execution pipeline of a normal reporter but overrides the fragments execution so as to notify JUnit of the appropriate events

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

Type Members

  1. type EE = (ExecutingSpecification) ⇒ ExecutedSpecification

    Definition Classes
    Exporters
  2. case class SpecStats extends Product with Serializable

    Definition Classes
    Statistics
  3. case class SpecsStatistics extends Product with Serializable

    Definition Classes
    Statistics

Abstract Value Members

  1. implicit abstract def args: Arguments

    arguments for the specification

  2. abstract def descriptions: Map[Fragment, Description]

    map providing a description for each fragment

  3. abstract def notifier: RunNotifier

    the junit notifier to use

  4. implicit abstract def properties: SystemProperties

    system properties

  5. abstract def selected: SpecificationStructure

    the selected fragments to report

Concrete Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. val ExecutedStatisticsReducer: Reducer[ExecutedFragment, SpecsStatistics]

    Definition Classes
    Statistics
  5. implicit def SpecStatsMonoid: Monoid[SpecStats] { val zero: JUnitReporter.this.SpecStats }

    Definition Classes
    Statistics
  6. implicit def SpecsStatisticsMonoid: Monoid[SpecsStatistics] { val zero: JUnitReporter.this.SpecsStatistics }

    Definition Classes
    Statistics
  7. val StatisticsReducer: Reducer[ExecutingFragment, SpecsStatistics]

    Definition Classes
    Statistics
  8. val StatsReducer: Reducer[ExecutingFragment, SpecStats]

    Definition Classes
    Statistics
  9. val StatsReducer2: Reducer[ExecutingFragment, Stats]

    Definition Classes
    Statistics
  10. val allOptionalExporters: Seq[String]

    Definition Classes
    Exporters
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def copyBody(name: SpecName, f: Fragment, body: ⇒ Result)(implicit arguments: Arguments): Result

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

    Definition Classes
    Exporters
  15. def delegate(arguments: Arguments): Option[Executor]

    Definition Classes
    Executor
  16. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    FragmentExecution
  21. def executeConcurrently(fs: FragmentSeq, barrier: ⇒ Any, args: Arguments)(implicit strategy: Strategy): Seq[Product with Serializable with ExecutingFragment { def map(function: org.specs2.specification.ExecutedFragment => org.specs2.specification.ExecutedFragment): Product with Serializable with org.specs2.specification.ExecutingFragment }]

    Definition Classes
    DefaultExecutionStrategy
  22. def executeFragment(implicit arguments: Arguments): Function[Fragment, ExecutedFragment]

    Definition Classes
    JUnitReporter → FragmentExecution
  23. def executeRandomly(fs: FragmentSeq, args: Arguments): Seq[FinishedExecutingFragment]

    Definition Classes
    DefaultExecutionStrategy
  24. def executeSequence(fs: FragmentSeq, barrier: ⇒ Any)(implicit args: Arguments, strategy: Strategy): Seq[ExecutingFragment]

    Definition Classes
    DefaultExecutionStrategy
  25. def executeSequentially(fs: FragmentSeq, args: Arguments): Seq[FinishedExecutingFragment]

    Definition Classes
    DefaultExecutionStrategy
  26. def export(implicit args: Arguments): (ExecutingSpecification) ⇒ ExecutedSpecification

    Definition Classes
    JUnitReporter → Exporting
  27. def exportAll(exporters: Seq[Exporting])(implicit arguments: Arguments): EE

    Definition Classes
    Exporters
  28. def exportAll(args: Arguments, accept: (String) ⇒ Boolean): EE

    Definition Classes
    Exporters
  29. def exportAll(arguments: Arguments): EE

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

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

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

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

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

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

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

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

    Definition Classes
    Exporters
  38. def exporters(implicit arguments: Arguments): Seq[Exporting]

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

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

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

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

    Definition Classes
    TagSelection
  43. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. def foldAll(fs: Seq[ExecutingFragment]): SpecsStatistics

    Definition Classes
    Statistics
  45. def fromSpecs2orScalaz: (String) ⇒ Boolean

    Definition Classes
    ExecutionOrigin
  46. final def getClass(): Class[_]

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

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

    Attributes
    protected
    Definition Classes
    StatusSelection
  49. def isConsole(args: Arguments): Boolean

    Definition Classes
    Exporters
  50. def isExecutedFrom(name: String, st: Seq[StackTraceElement]): Boolean

    Definition Classes
    Stacktraces
  51. def isExecutedFrom(name: String): Boolean

    Definition Classes
    Stacktraces
  52. lazy val isExecutedFromAnIDE: Boolean

    Definition Classes
    ExecutionOrigin
  53. lazy val isExecutedFromEclipse: Boolean

    Definition Classes
    ExecutionOrigin
  54. lazy val isExecutedFromGradle: Boolean

    Definition Classes
    ExecutionOrigin
  55. lazy val isExecutedFromIntellij: Boolean

    Definition Classes
    ExecutionOrigin
  56. lazy val isExecutedFromMaven: Boolean

    Definition Classes
    ExecutionOrigin
  57. lazy val isExecutedFromSBT: Boolean

    Definition Classes
    ExecutionOrigin
  58. def isFromClass(classNamePredicate: (String) ⇒ Boolean, st: Seq[StackTraceElement]): Boolean

    Definition Classes
    Stacktraces
  59. def isFromClass(classNamePredicate: (String) ⇒ Boolean): Boolean

    Definition Classes
    Stacktraces
  60. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  61. def isSpecificationFromSpecs2orScalaz(st: Seq[StackTraceElement]): Boolean

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Exporters
  69. def report: ExecutedSpecification

    run the suite by executing each fragment related to a description: - execute all fragments (including Steps which are reported as steps) - for each result, report the failure/error/skipped or pending message as a junit failure or ignored event on the RunNotifier

  70. def report(spec: SpecificationStructure)(implicit arguments: Arguments): ExecutedSpecification

    Definition Classes
    Reporter
  71. lazy val repository: StatisticsRepository

    Attributes
    protected
    Definition Classes
    WithDefaultStatisticsRepository → WithStatisticsRepository
  72. def select(implicit arguments: Arguments): (SpecificationStructure) ⇒ SpecificationStructure

    Definition Classes
    DefaultReporter → DefaultSelection → Selection
  73. def select(fragments: Seq[Fragment])(implicit arguments: Arguments): Seq[Fragment]

    Definition Classes
    DefaultSelection
  74. def sequence(implicit arguments: Arguments): (SpecificationStructure) ⇒ ExecutableSpecification

    Definition Classes
    DefaultReporter → DefaultSequence → Sequence
  75. def sequence(specName: SpecName, fragments: Seq[Fragment])(implicit arguments: Arguments): Seq[FragmentSeq]

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

    Definition Classes
    DefaultStoring
  77. def store(implicit arguments: Arguments): (ExecutingSpecification) ⇒ ExecutingSpecification

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

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

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

    Definition Classes
    AnyRef
  81. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Exporters

Inherited from DefaultReporter

Inherited from Executor

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 TagsAssociation

Inherited from ExamplesIsolation

Inherited from Reporter

Inherited from Exporting

Inherited from Storing

Inherited from ExecutionStrategy

Inherited from Sequence

Inherited from Selection

Inherited from ExecutionOrigin

Inherited from Stacktraces

Inherited from AnyRef

Inherited from Any

Ungrouped