Automatic env variable change
已回答
I need to change environment variables that I receive as a response of a script I write that returns data from a cloud environment I need to access:
For this I need to override env vars for my local run tests in intellij, is there a way to override them automatically in a specific run configuration?
Thanks in advance
请先登录再写评论。
Hi. What kind of run configuration do you use?
Taking JUnit configuration as an example, you can pass a value for the env var in two places - сustom VM options and env variables: