Title: Test Runner `run()` should support `env` option · Issue #60709 · nodejs/node · GitHub
Open Graph Title: Test Runner `run()` should support `env` option · Issue #60709 · nodejs/node
X Title: Test Runner `run()` should support `env` option · Issue #60709 · nodejs/node
Description: What is the problem this feature will solve? Programmatic configuration of environment variables for test runner. What is the feature you are proposing to solve the problem? Add a env option similar to that in spawn or exec What alternat...
Open Graph Description: What is the problem this feature will solve? Programmatic configuration of environment variables for test runner. What is the feature you are proposing to solve the problem? Add a env option simila...
X Description: What is the problem this feature will solve? Programmatic configuration of environment variables for test runner. What is the feature you are proposing to solve the problem? Add a env option simila...
Opengraph URL: https://github.com/nodejs/node/issues/60709
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test Runner `run()` should support `env` option","articleBody":"### What is the problem this feature will solve?\n\nProgrammatic configuration of environment variables for test runner.\n\n### What is the feature you are proposing to solve the problem?\n\nAdd a `env` option similar to that in `spawn` or `exec`\n\n### What alternatives have you considered?\n\nMy current work around is to just set env variables directly before calling `run()`. ","author":{"url":"https://github.com/Ethan-Arrowood","@type":"Person","name":"Ethan-Arrowood"},"datePublished":"2025-11-13T21:20:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/60709/node/issues/60709"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:94b931d0-267c-3163-b3da-42f874fc2f1f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DB4:32FDD1:F91266:15FEC66:6A4CB2A1 |
| html-safe-nonce | e1cfa5c3607745b9e36ea79fea122d585ba4d689360529d6132840707420ead9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REI0OjMyRkREMTpGOTEyNjY6MTVGRUM2Njo2QTRDQjJBMSIsInZpc2l0b3JfaWQiOiI0MTYxMDU1NjA3Njc4MDg3ODQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0f3bba41eef3cd48fda91aee7db1c55cdb3696b686e33b15ed21f4501bf380eb |
| hovercard-subject-tag | issue:3622869317 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/60709/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aef35f17099177b571c41df978c63d3c8b2695f3e3336d9fe8159534217575ba/nodejs/node/issues/60709 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aef35f17099177b571c41df978c63d3c8b2695f3e3336d9fe8159534217575ba/nodejs/node/issues/60709 |
| og:image:alt | What is the problem this feature will solve? Programmatic configuration of environment variables for test runner. What is the feature you are proposing to solve the problem? Add a env option simila... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Ethan-Arrowood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width