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.
NullArgumentException
if either suite
or tracker
is null
.
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.