I'm currently having a problem with testing speed with hibernate.
You see, I have a large, large number of tests (which is a good thing), but when I run them through ant, I have to wait for the JVM to initialize hibernate for every test. What this ends up meaning is that I have to wait another 6 seconds or so on every test in order for for the tests to run.
If I put them manually into a suite, or I run with jvm unforked, I get almost twice as fast, however, in these cases I often run out of memory (in fact I do, just about every time).
So, my question out there is if anyone has any experience making hibernate junit tests run any faster?
Thanks,
marc
|