Intellij Idea - how to obtain parallel scalatest execution INSIDE IDE
Asked Answered
C

1

6

Using Sbt in order to run scalatest tests, you can put all test of a suite in parallel using the trait ParallelTestExecution and this works out of the box.

How to obtain the same result running scalatests tests inside Intellij Idea IDE? running test inside ide gives a better report and a colorful state of the results, better than sbt.

Coppage answered 1/2, 2019 at 16:23 Comment(2)
Did you find a solution for this? 4.5 years later, I have the same issue (i..e. I want my tests to run faster in the IDE by using all me processor cores).Randolf
@Randolf no, i moved to pytest.Coppage
R
0

Adding the -P command line parameter to the scalatest invocation in your IntelliJ "Run/Debug Configuration" should do the job.

References:

Randolf answered 15/9, 2023 at 12:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.