Rerunner
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
.
- Deprecated
Value members
Abstract methods
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
.
- Value parameters:
- 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.- filter
a
Filter
with which to filter tests based on their tags- loader
the
ClassLoader
from which to load classes needed to rerun the test or suite.- reporter
the
Reporter
to which results will be reported- stopper
the
Stopper
that will be consulted to determine whether to stop execution early.
- Throws:
- NullArgumentException
if any of the passed values are
null
.