Trait

org.scalatest

Rerunner

Related Doc: package scalatest

Permalink

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
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Rerunner
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(reporter: Reporter, stopper: Stopper, filter: Filter, configMap: ConfigMap, distributor: Option[Distributor], tracker: Tracker, loader: ClassLoader): Unit

    Permalink

    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 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.

    loader

    the ClassLoader from which to load classes needed to rerun the test or suite.

    Exceptions thrown

    NullArgumentException if any of the passed values are null.