|Set default VM arguments for all JUnit Tests? [message #1184704]
||Wed, 13 November 2013 16:33
| Alan DW
Registered: March 2012
I'm currently debugging my Eclipse Plug-In. It deals with EMF models and therefore requires a fair bit of memory. Without the "-XX:MaxPermSize=256m" VM argument, my Eclipse test instance crashes with an out-of-memory error.
This is not a big deal, since in the run config, this can be set up accordingly. However, if you try to run a single test method (instead of a class or suite), then JUnit will create a new launch configuration for this test - and again, you have to set up the VM argument.
The question is: is there a "central place" in the settings where I can set up my VM arguments in Eclipse which will be inherited by ALL run configurations, both existing and future? It's really annoying to have to set this argument for every test method that I'd like to run individually.
Powered by FUDForum
. Page generated in 0.01462 seconds