org.scalatest

trait Rerunner

[source: org/scalatest/Rerunner.scala]

trait Rerunner
extends (Reporter, Stopper, Filter, scala.collection.immutable.Map[java.lang.String, Any], scala.Option[Distributor], Tracker, java.lang.ClassLoader) => Unit
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.
Author
Bill Venners
Method Summary
abstract def apply (reporter : Reporter, stopper : Stopper, filter : Filter, configMap : scala.collection.immutable.Map[java.lang.String, Any], distributor : scala.Option[Distributor], tracker : Tracker, loader : java.lang.ClassLoader) : Unit
Rerun a test or other entity (such as a suite), reporting results to the specified Reporter.
Methods inherited from scala.Function7
scala.Function7.toString, scala.Function7.curry
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def apply(reporter : Reporter, stopper : Stopper, filter : Filter, configMap : scala.collection.immutable.Map[java.lang.String, Any], distributor : scala.Option[Distributor], tracker : Tracker, loader : java.lang.ClassLoader) : Unit
Rerun a test or other entity (such as a suite), reporting results to the specified Reporter.
Parameters
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.
Throws
NullPointerException - if any of the passed values are null.
Overrides
scala.Function7.scala.Function7.apply


Copyright (C) 2001-2009 Artima, Inc. All rights reserved.