Change VM parameters when running test, how? Follow
Hi, when i right click on a test class and select "run", it runs my tests in that class. However, if i would like to run it with some specific java vm parameters, is there a place in settings where i can set some default values? Haven't been able to find it.
Please sign in to leave a comment.
To run tests with parameters, you can edit one of the configuration templates: click
Run | Edit Configurations...and in the opened window -
Edit configuration templates...:
In the next opened window you can select one of the templates on the left, for example, JUnit (or another one, depending on what configuration is set when you run a test from Editor), and edit its options:
Ah, edit templates of course. Thanks!