Automatic env variable change

Answered

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 

0
1 comment

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:

0

Please sign in to leave a comment.