I'm running 9 JUnit (Spockframework actually) tests in Intellij IDEA. It takes about 3 seconds.
I want to make use of all of the cores, therefore I switch test configuration fork mode - class.
Edit configurations > Fork mode > class
This causes build time to grow to 8 seconds. Trying to use fork mode method makes it 22 seconds. Also test runner process looks like they are being run sequentially instead of in parallel.
Any ideas on why doesn't forking tests work as expected?