org.specs2.runner

TestInterfaceRunner

class TestInterfaceRunner extends Runner with HandlerEvents with TestLoggers with Exporters

Runner for TestInterface. It creates a Specification class with the given classLoader the classes which can be executed by the specs2 library.

Then it uses a NotifierRunner to notify the EventHandler of the test events.

Linear Supertypes
Exporters, TestLoggers, HandlerEvents, Runner, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TestInterfaceRunner
  2. Exporters
  3. TestLoggers
  4. HandlerEvents
  5. Runner
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TestInterfaceRunner(loader: ClassLoader, loggers: Array[Logger])

Type Members

  1. type EE = (ExecutingSpecification) ⇒ ExecutedSpecification

    Definition Classes
    Exporters
  2. class NamedEvent extends Event

    Definition Classes
    HandlerEvents

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def customExporter(arguments: Arguments): Option[Exporting]

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

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

    Definition Classes
    AnyRef → Any
  11. def error(name: String, e: Throwable): NamedEvent

    Definition Classes
    HandlerEvents
  12. def exportAll(exporters: Seq[Exporting])(implicit arguments: Arguments): (ExecutingSpecification) ⇒ ExecutedSpecification

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

    Definition Classes
    Exporters
  14. def exportAll(arguments: Arguments): (ExecutingSpecification) ⇒ ExecutedSpecification

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Exporters
  22. def exporters(args: Array[String], handler: EventHandler)(implicit arguments: Arguments): Seq[Exporting]

    returns

    the list of all the exporters depending on the arguments passed on the command line

  23. def exporters(accept: (String) ⇒ Boolean)(implicit arguments: Arguments): Seq[Exporting]

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

    Definition Classes
    Exporters
  25. def failure(name: String, e: Throwable): NamedEvent

    Definition Classes
    HandlerEvents
  26. def finalExporter(handler: EventHandler): FinalResultsReporter

    Attributes
    protected
  27. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  30. def isConsole(args: Arguments): Boolean

    Definition Classes
    Exporters
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. val loader: ClassLoader

  33. def logError(message: String): Unit

    Definition Classes
    TestLoggers
  34. def logFailure(message: String): Unit

    Definition Classes
    TestLoggers
  35. def logInfo(message: String): Unit

    Definition Classes
    TestLoggers
  36. val loggers: Array[Logger]

    Definition Classes
    TestInterfaceRunnerTestLoggers
  37. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Attributes
    protected
    Definition Classes
    Exporters
  42. def otherExporters(args: Array[String], handler: EventHandler)(implicit arguments: Arguments): Seq[Exporting]

  43. def reporter(handler: EventHandler)(args: Array[String]): Reporter

    Attributes
    protected
  44. def result(name: String)(r: Result): NamedEvent

    Definition Classes
    HandlerEvents
  45. def run(className: String, fingerprint: TestFingerprint, handler: EventHandler, args: Array[String]): Unit

    Definition Classes
    TestInterfaceRunner → Runner
  46. def runFilesRunner(className: String, handler: EventHandler, args: Array[String]): Unit

  47. def runSpecification(className: String, handler: EventHandler, args: Array[String]): Any

  48. def skipped(name: String, description: String = ""): NamedEvent { def error(): Null }

    Definition Classes
    HandlerEvents
  49. def succeeded(name: String): NamedEvent

    Definition Classes
    HandlerEvents
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Exporters

Inherited from TestLoggers

Inherited from HandlerEvents

Inherited from Runner

Inherited from AnyRef

Inherited from Any

Ungrouped