I would like to specify a specific Eclipse VM argument
to all of the JUnit tests I run from Eclipse i.e.
-Dlog4j.configuration=log4j-dev.properties
This is because I want a specific log4j configuration file to be picked up by all my JUnit tests instead of the default log4j.properties
file.
As of now I have to specify the above VM argument
(in Run Configurations -> Arguments -> VM arguments
) for each of my JUnit tests making it cumbersome because I have many tests.