the Reporter
to which results will be reported
the Stopper
that will be consulted to determine whether to stop execution early.
a Filter
with which to filter tests based on their tags
a ConfigMap
of key-value pairs that can be used by the executing Suite
of tests.
an optional Distributor
, into which to put nested Suite
s to be executed
by another entity, such as concurrently by a pool of threads. If None
, nested Suite
s will be executed sequentially.
a Tracker
tracking Ordinal
s being fired by the current thread.
a (possibly empty) Set
of String
s specifying the run's chosen styles
a flag used to pass information between run methods
in OneInstancePerTest
and ParallelTestExecution
.
an optional DistributedTestSorter
used by ParallelTestExecution
to sort the events
for the parallel-executed tests of one suite back into sequential order on the fly, with a timeout in case a test takes too long to complete
an optional DistributedSuiteSorter
used by ParallelTestExecution
to ensure the events
for the parallel-executed suites are sorted back into sequential order, with a timeout in case a suite takes to long to complete, even when tests are executed in parallel
if any passed parameter is null
.
a (possibly empty) Set
of String
s specifying the run's chosen styles
a (possibly empty) Set
of String
s specifying the run's chosen styles
a ConfigMap
of key-value pairs that can be used by the executing Suite
of tests.
an optional DistributedSuiteSorter
used by ParallelTestExecution
to ensure the events
for the parallel-executed suites are sorted back into sequential order, with a timeout in case a suite takes to long to complete, even when tests are executed in parallel
an optional DistributedSuiteSorter
used by ParallelTestExecution
to ensure the events
for the parallel-executed suites are sorted back into sequential order, with a timeout in case a suite takes to long to complete, even when tests are executed in parallel
an optional DistributedTestSorter
used by ParallelTestExecution
to sort the events
for the parallel-executed tests of one suite back into sequential order on the fly, with a timeout in case a test takes too long to complete
an optional DistributedTestSorter
used by ParallelTestExecution
to sort the events
for the parallel-executed tests of one suite back into sequential order on the fly, with a timeout in case a test takes too long to complete
an optional Distributor
, into which to put nested Suite
s to be executed
by another entity, such as concurrently by a pool of threads.
an optional Distributor
, into which to put nested Suite
s to be executed
by another entity, such as concurrently by a pool of threads. If None
, nested Suite
s will be executed sequentially.
a Filter
with which to filter tests based on their tags
the Reporter
to which results will be reported
a flag used to pass information between run methods
in OneInstancePerTest
and ParallelTestExecution
.
a flag used to pass information between run methods
in OneInstancePerTest
and ParallelTestExecution
.
the Stopper
that will be consulted to determine whether to stop execution early.
a Tracker
tracking Ordinal
s being fired by the current thread.
Arguments bundle passed to four of ScalaTest's lifecycle methods:
run
,runNestedSuites
,runTests
, andrunTest
.The signatures of these methods, defined in trait
Suite
, are:The purpose of bundling these arguments into an
Args
object instead of passing them in individually is to make the signature of these four lifecycle methods easier to read, write, and remember, as well as to make the methods more pleasant to override in user code.the
Reporter
to which results will be reportedthe
Stopper
that will be consulted to determine whether to stop execution early.a
Filter
with which to filter tests based on their tagsa
ConfigMap
of key-value pairs that can be used by the executingSuite
of tests.an optional
Distributor
, into which to put nestedSuite
s to be executed by another entity, such as concurrently by a pool of threads. IfNone
, nestedSuite
s will be executed sequentially.a
Tracker
trackingOrdinal
s being fired by the current thread.a (possibly empty)
Set
ofString
s specifying the run's chosen stylesa flag used to pass information between run methods in
OneInstancePerTest
andParallelTestExecution
.an optional
DistributedTestSorter
used byParallelTestExecution
to sort the events for the parallel-executed tests of one suite back into sequential order on the fly, with a timeout in case a test takes too long to completean optional
DistributedSuiteSorter
used byParallelTestExecution
to ensure the events for the parallel-executed suites are sorted back into sequential order, with a timeout in case a suite takes to long to complete, even when tests are executed in parallelif any passed parameter is
null
.