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
- All
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
Reporter
to which results will be reported- stopper
the
Stopper
that will be consulted to determine whether to stop execution early.- filter
a
Filter
with which to filter tests based on their tags- configMap
a
Map
of key-value pairs that can be used by the suite or test being rerun- distributor
an optional
Distributor
, into which to put nestedSuite
s, if any, to be executed by another entity, such as concurrently by a pool of threads. IfNone
, nestedSuite
s will be executed sequentially.- loader
the
ClassLoader
from which to load classes needed to rerun the test or suite.
- Exceptions thrown
NullArgumentException
if any of the passed values arenull
.