When I implement new features using TDD, I often use the shortcut Shift + Alt + D T
to run only the jUnit test case I am currently working on (and not the whole test suite, which takes a few minutes).
This creates a new Debug Configuration for the current Java source and runs it immediately. Now I would like to run the test with assertions enabled (VM option -ea
).
Unfortunately, the VM arguments for the new debug configuration starts empty. I always have to go into Debug Configurations...
→ Arguments
and add -ea
to the VM arguments input box.
Is there any way to have Eclipse these arguments populated with (project or workspace wide) default options?