Puts a Suite
into the Distributor
.
Puts a Suite
into the Distributor
.
The Distributor
can decide which, if any, of the passed Args
Suite's apply method. For example, a Distributor
may pass itself wrapped in a Some
in the Args
it passes to the Suite
's run
method instead of the args.distributor
value.
the Suite
to put into the Distributor
.
a Args
containing objects that may be passed to the Suite
's
run
method via a Args
instance.
Puts a Suite
into the Distributor
.
Puts a Suite
into the Distributor
.
the Suite
to put into the Distributor
.
a Tracker
to pass to the Suite
's run
method.
Please use the apply method that takes a Args instead, the one with this signature: def apply(Suite, Args)
Trait whose instances facilitate parallel execution of
Suite
s. An optionalDistributor
is passed to therun
method ofSuite
. If aDistributor
is indeed passed, traitSuite
's implementation ofrun
will populate thatDistributor
with its nestedSuite
s (by passing them to theDistributor
'sapply
method) rather than executing the nestedSuite
s directly. It is then up to another thread or process to execute thoseSuite
s.If you have a set of nested
Suite
s that must be executed sequentially, you can mix in traitSequentialNestedSuiteExecution
, which overridesrunNestedSuites
and callssuper
'srunNestedSuites
implementation, passing inNone
for theDistributor
.Implementations of this trait must be thread safe.