Rerunner

org.scalatest.Rerunner
trait 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.

Attributes

Deprecated
true
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

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.

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 nested Suites, if any, to be executed by another entity, such as concurrently by a pool of threads. If None, nested Suites 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.

Attributes

Throws
NullArgumentException

if any of the passed values are null.