Skip to content

Allow execute calls to receive extra env vars#51

Open
electrofelix wants to merge 1 commit intohashicorp:mainfrom
electrofelix:allow-execution-specific-extra-env
Open

Allow execute calls to receive extra env vars#51
electrofelix wants to merge 1 commit intohashicorp:mainfrom
electrofelix:allow-execution-specific-extra-env

Conversation

@electrofelix
Copy link

With acceptance tests it can be useful to be able to override or set a
specific env var when executing a call at a single point in a test
example.

Instead of duplicating or moving with_temp_env() from the unit tests, it
is easier to ensure isolation of tests by avoiding modify of ENV
directly and instead allow the tests to configure the environment for
the process launched.

With acceptance tests it can be useful to be able to override or set a
specific env var when executing a call at a single point in a test
example.

Instead of duplicating or moving with_temp_env() from the unit tests, it
is easier to ensure isolation of tests by avoiding modify of ENV
directly and instead allow the tests to configure the environment for
the process launched.
@electrofelix electrofelix force-pushed the allow-execution-specific-extra-env branch from fefe256 to e52e00c Compare June 13, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant