Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test() should have an option to temporarily set env= #5848

Closed
MichaelChirico opened this issue Dec 20, 2023 · 0 comments · Fixed by #6072
Closed

test() should have an option to temporarily set env= #5848

MichaelChirico opened this issue Dec 20, 2023 · 0 comments · Fixed by #6072
Labels

Comments

@MichaelChirico
Copy link
Member

          I would like to see a similar `test(testnum, my_computed_value, my_expected_value, env=list(SOME_ENV_VAR="VALUE"))` -- I was recently working on #5807 which involves environment variables for getting default number of threads, and the tests would be much easier to understand/modify with such an enhancement to test.

Originally posted by @tdhock in #5845 (comment)

@MichaelChirico MichaelChirico changed the title test() should have an option too temporarily set env= test() should have an option to temporarily set env= Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants