Hello,
would you accept a PR with a new attribute #[WithEnv('name', 'value')] or #[WithEnvironmentVariable('name', 'value')], which will set the given env var and run the test with this env?
This would allow to fully test applications which rely on environment variables for feature flags, for example. Relying on environment variables is quite common these days...
thanks for your answer
Hello,
would you accept a PR with a new attribute
#[WithEnv('name', 'value')]or#[WithEnvironmentVariable('name', 'value')], which will set the given env var and run the test with this env?This would allow to fully test applications which rely on environment variables for feature flags, for example. Relying on environment variables is quite common these days...
thanks for your answer