I assume that you know that the problem is the build time - that the actual runtime for the tests themselves is negligible.
What do you have for hardware? In my experience, 4 GB of RAM is not enough for Intellij Scala to work well - for this you need a large disk cache (for which the OS uses free RAM). SSD also helps. Use a performance monitor or similar for your OS to determine if the time is a disk, processor, or network. If it's a central processing unit, consider whether there might be a problem with heap size.
What is your build process? Are there any sbt plugins? How big is your project?
UPDATE
Starting a full rebuild without changes is incorrect. Is there anything in your tests that change project directories? If you run a dummy no-op test, does it do the same? Perhaps you, for example, write logs to the project tree?
In my limited experience, full Play builds under Intellij are several orders of magnitude slower than the pure Scala construct - I would suggest because of all the SBT plugins (view compiler, xScript compiler, xSS compiler, etc.) that have run. But increments are not so painful.
On OSX, read Activity Monitor for Performance Monitor.
UPDATE
See Intellij issue SCL-8235 for other people's experiences and workarounds for slow incremental Play builds. Vote for the problem to increase its priority and speed up its correction.
source share