I am trying to run a unit test from IntelliJ that uses Robolectric by following the example here ::http://pivotal.github.com/robolectric/intellij-quick-start.html Have added the Robolectric jar and a jar for Junit4. When the test runs I get an OutOfMemory. I suppose I need to add some vm args to the run configuration for specifying a larger heap size or something. The run config does not appear to have an option for adding vm args. Can anyone advise on this? Incidentally, the example I'm following suggests I use a Maven project. I am not doing this as I haven't needed Maven for anything before and don't see why I should now. (happy to be corrected on that)
I am trying to run a unit test from IntelliJ that uses Robolectric by following the example here ::http://pivotal.github.com/robolectric/intellij-quick-start.html Have added the Robolectric jar and a jar for Junit4. When the test runs I get an OutOfMemory. I suppose I need to add some vm args to the run configuration for specifying a larger heap size or something. The run config does not appear to have an option for adding vm args. Can anyone advise on this? Incidentally, the example I'm following suggests I use a Maven project. I am not doing this as I haven't needed Maven for anything before and don't see why I should now. (happy to be corrected on that)