parallel scalatest execution

running scalatest tests with sbt the default is a parallel execution.

in IDEA, every test will be launched one by one, without parallelism.

There is a way to runs tests in parallel?


评论操作 固定链接

Mixing org.scalatest.ParallelTestExecution into the test class, the second test fails with this error:

Exception encountered when invoking run on a nested suite - Failed to bind to: / Failed to bind to: /

Caused by: Address already in use