Configuring parallelism
Parallelism within suites
By default, using the documented test suites, weaver runs all tests within a suite in parallel.
It is possible to limit the the number of tests that that can be executed in parallel as such :
import weaver._
object MySuite extends SimpleIOSuite {
override def maxParallelism = 1
}
Parallelism across suites
Weaver does not make any decision as to whether suites are executed sequentially or in parallel. Instead, it is implemented in a way that respects the build tool settings.
SBT
- Parallel execution
- Disabling parallel execution in tests
- Tests are executed sequentially in forked JVMs