Intellij Idea and TDD

Hi!

I'm run my tests very often. Almost every time I make little changes. So when I at Eclipse, Automated build heps me run all my unit tests in microseconds.
But with Idea every time I start running my tests it takes 4-6 seconds. To me it is very slow.

If there any suggestions on how can I improve tests running in Idea ?

6 comments
Comment actions Permalink

possible cause: Settings->Compiler->Validation

0
Comment actions Permalink

All validators turn off

0
Comment actions Permalink

network drives? anti-virus software? defragment HDD?

what step exactly is slow - 'make' or starting the unit-tests?

0
Comment actions Permalink

AV would have my vote, except he reports it works much quicker from Eclipse which would not be the case if it were AV software (unless of course he's comparing Eclipse on one machine with IntelliJ on another and the machines have different AV software on them).
Many AV kits will scan inside jars and scan every file being loaded, which in case of Java libraries can take a lot of time as those often consist of a very large number of small files existing inside jars.
Each needs to be extracted by the AV tool, scanned, and released before the JVM itself extracts it again and loads it.

0
Comment actions Permalink

When I turn off make - all test run extremely fast! But changes in my files not affect those tests.
Seesm make so slow.
I'm in Ubuntu.

PS
The problem not in HDD, CPU and so on.

0
Comment actions Permalink

I'm encountering the same problem. Did you find a solution how to solve it ?

0

Please sign in to leave a comment.