trait Rerunner extends AnyRef
Trait whose instances can rerun tests or other entities (such as suites). An object extending
this trait can be passed to a Reporter as part of a Report. The
test or other entity about which the report is made can then be rerun by invoking the
rerun method on the Rerunnable.
- Annotations
- @deprecated
- Deprecated
We are considering removing Rerunner in ScalaTest 2.0 and would like to know if anyone is using it. If you are, please email scalatest-users@googlegroups.com or and describe your use case. Thanks!
- Source
- Rerunner.scala
- Alphabetic
- By Inheritance
- Rerunner
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def apply(reporter: Reporter, stopper: Stopper, filter: Filter, configMap: ConfigMap, distributor: Option[Distributor], tracker: Tracker, loader: ClassLoader): Unit
Rerun a test or other entity (such as a suite), reporting results to the specified
Reporter.Rerun a test or other entity (such as a suite), reporting results to the specified
Reporter.- reporter
the
Reporterto which results will be reported- stopper
the
Stopperthat will be consulted to determine whether to stop execution early.- filter
a
Filterwith which to filter tests based on their tags- configMap
a
Mapof key-value pairs that can be used by the suite or test being rerun- distributor
an optional
Distributor, into which to put nestedSuites, if any, to be executed by another entity, such as concurrently by a pool of threads. IfNone, nestedSuites will be executed sequentially.- loader
the
ClassLoaderfrom which to load classes needed to rerun the test or suite.
- Exceptions thrown
NullArgumentExceptionif any of the passed values arenull.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()