Reputation: 11
Is there a way to use a launch configuration in eclipse as a "template" such that I can just right click the java file containing the main class and run/debug it?
Launch configuration:
I want to use this for running tests (we do not use any frameworks like JUnit) which are all in separate java files. The launch configurations mainly have different environments (particularly the environment variables set) to control whether to run the test with logging/tracing on, etc. Right now, in order to run different tests using different environment variables, I have to keep changing the main class based on the test I want to run.
Upvotes: 1
Views: 881