org.specs2.runner

testInterface

object testInterface extends TestInterfaceRunner with Classes with SystemExit with ConsoleOutput

This object can be used to debug the behavior of the TestInterfaceRunner

Linear Supertypes
ConsoleOutput, SystemExit, Classes, Output, TestInterfaceRunner, Exporters, TestLoggers, HandlerEvents, Runner, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. testInterface
  2. ConsoleOutput
  3. SystemExit
  4. Classes
  5. Output
  6. TestInterfaceRunner
  7. Exporters
  8. TestLoggers
  9. HandlerEvents
  10. Runner
  11. AnyRef
  12. 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. 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. val allOptionalExporters: Seq[String]

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

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def create[T <: AnyRef](className: String = "", classLoader: ClassLoader = ...)(implicit m: ClassTag[T]): Either[Throwable, T]

    returns

    an instance of a given class, returning either the instance, or an exception

    Definition Classes
    Classes
  10. def createObject[T <: AnyRef](className: String, printMessage: Boolean, printStackTrace: Boolean)(implicit m: ClassTag[T]): Option[T]

    A system property 'debugCreateObject' can be set to override the printMessage and printStackTrace parameters so that the exception message and stacktrace are printed when the object can't be created

    A system property 'debugCreateObject' can be set to override the printMessage and printStackTrace parameters so that the exception message and stacktrace are printed when the object can't be created

    returns

    an instance of a given class and optionally print message and/or the stacktrace if the class can't be loaded.

    Definition Classes
    Classes
  11. def createObject[T <: AnyRef](className: String, printMessage: Boolean)(implicit m: ClassTag[T]): Option[T]

    returns

    an instance of a given class and optionally print message if the class can't be loaded

    Definition Classes
    Classes
  12. def createObject[T <: AnyRef](className: String)(implicit m: ClassTag[T]): Option[T]

    returns

    an instance of a given class

    Definition Classes
    Classes
  13. def customExporter(arguments: Arguments): Option[Exporting]

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

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

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

    Definition Classes
    HandlerEvents
  17. val errorHandler: PartialFunction[Throwable, Unit]

    Attributes
    protected
  18. def exitSystem(executed: Seq[ExecutedSpecification]): Unit

    exit the system with a specific code:

    exit the system with a specific code:

    - 0 if all the specifications are successful - 1 if there are only failures - 100 if there is any error - 101 if one of them could not even be executed (this is represented by None)

    Definition Classes
    SystemExit
  19. def exitSystem(executed: Option[ExecutedSpecification]): Unit

    exit the system for one executed specification (None means that the specification could not be executed)

    exit the system for one executed specification (None means that the specification could not be executed)

    Definition Classes
    SystemExit
  20. def exitTheSystem(executed: Seq[Option[ExecutedSpecification]]): Unit

    Attributes
    protected
    Definition Classes
    SystemExit
  21. def exitWith(status: Int): Unit

    this method can be overriden for testing

    this method can be overriden for testing

    Attributes
    protected
    Definition Classes
    SystemExit
  22. def exportAll(exporters: Seq[Exporting])(implicit arguments: Arguments): (ExecutingSpecification) ⇒ ExecutedSpecification

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

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

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Exporters
  32. 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

    Definition Classes
    TestInterfaceRunner
  33. def exporters(accept: (String) ⇒ Boolean)(implicit arguments: Arguments): Seq[Exporting]

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

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

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

    Attributes
    protected
    Definition Classes
    TestInterfaceRunner
  37. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  38. def flush(): Unit

    flush the content if necessary

    flush the content if necessary

    Definition Classes
    ConsoleOutputOutput
  39. final def getClass(): Class[_]

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

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

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

    Definition Classes
    Any
  43. val loader: ClassLoader

    Definition Classes
    TestInterfaceRunner
  44. def logError(message: String): Unit

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

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

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

    Definition Classes
    TestInterfaceRunnerTestLoggers
  48. def main(arguments: Array[String]): Unit

  49. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    TestInterfaceRunner
  55. def print(m: Any): Unit

    print an object with no newline

    print an object with no newline

    Definition Classes
    Output
  56. def printStackTrace(t: Throwable): Unit

    print stacktraces

    print stacktraces

    Definition Classes
    Output
  57. def printf(s: String, args: Any*): Unit

    print several objects according to a format string (see Console.

    print several objects according to a format string (see Console.printf)

    Definition Classes
    ConsoleOutputOutput
  58. def println(m: Any): Unit

    print an object with a newline

    print an object with a newline

    Definition Classes
    Output
  59. def reporter(handler: EventHandler)(args: Array[String]): Reporter

    Attributes
    protected
    Definition Classes
    TestInterfaceRunner
  60. def result(name: String)(r: Result): NamedEvent

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

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

    Definition Classes
    TestInterfaceRunner
  63. def runSpecification(className: String, handler: EventHandler, args: Array[String]): Any

    Definition Classes
    TestInterfaceRunner
  64. def skipped(name: String, description: String = ""): NamedEvent { def error(): Null }

    Definition Classes
    HandlerEvents
  65. def start(arguments: String*): Option[ExecutedSpecification]

  66. def succeeded(name: String): NamedEvent

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

    Definition Classes
    AnyRef
  68. def toString(): String

    Definition Classes
    AnyRef → Any
  69. def tryToCreateObject[T <: AnyRef](className: String, printMessage: Boolean = true, printStackTrace: Boolean = true, loader: ClassLoader = ..., parameter: Option[AnyRef] = None)(implicit m: ClassTag[T]): Option[T]

    Try to create an instance of a given class by using whatever constructor is available and trying to instantiate the first parameter recursively if there is a parameter for that constructor.

    Try to create an instance of a given class by using whatever constructor is available and trying to instantiate the first parameter recursively if there is a parameter for that constructor.

    This is useful to instantiate nested classes which are referencing their outer class in their constructor

    Definition Classes
    Classes
  70. def tryToCreateObjectEither[T <: AnyRef](className: String, loader: ClassLoader = ..., parameter: Option[AnyRef] = None)(implicit m: ClassTag[T]): Either[Throwable, T]

    Try to create an instance of a given class by using whatever constructor is available and trying to instantiate the first parameter recursively if there is a parameter for that constructor.

    Try to create an instance of a given class by using whatever constructor is available and trying to instantiate the first parameter recursively if there is a parameter for that constructor.

    This is useful to instantiate nested classes which are referencing their outer class in their constructor

    Definition Classes
    Classes
  71. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ConsoleOutput

Inherited from SystemExit

Inherited from Classes

Inherited from Output

Inherited from TestInterfaceRunner

Inherited from Exporters

Inherited from TestLoggers

Inherited from HandlerEvents

Inherited from Runner

Inherited from AnyRef

Inherited from Any

Ungrouped