René's URL Explorer Experiment


Title: test runner run() ignores testNamePatterns and testSkipPatterns when isolation is "none" · Issue #57399 · nodejs/node · GitHub

Open Graph Title: test runner run() ignores testNamePatterns and testSkipPatterns when isolation is "none" · Issue #57399 · nodejs/node

X Title: test runner run() ignores testNamePatterns and testSkipPatterns when isolation is "none" · Issue #57399 · nodejs/node

Description: Version v22.14.0, v23.8.0 Platform Microsoft Windows NT 10.0.19045.0 x64 Subsystem test What steps will reproduce the bug? mytest.test.mjs import { test } from "node:test"; test("a1", (t) => { console.log(t.name); }); test("a2", (t) => {...

Open Graph Description: Version v22.14.0, v23.8.0 Platform Microsoft Windows NT 10.0.19045.0 x64 Subsystem test What steps will reproduce the bug? mytest.test.mjs import { test } from "node:test"; test("a1", (t) => { cons...

X Description: Version v22.14.0, v23.8.0 Platform Microsoft Windows NT 10.0.19045.0 x64 Subsystem test What steps will reproduce the bug? mytest.test.mjs import { test } from "node:test"; test("a1&...

Opengraph URL: https://github.com/nodejs/node/issues/57399

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test runner run() ignores testNamePatterns and testSkipPatterns when isolation is \"none\"","articleBody":"### Version\n\nv22.14.0, v23.8.0\n\n### Platform\n\n```text\nMicrosoft Windows NT 10.0.19045.0 x64\n```\n\n### Subsystem\n\ntest\n\n### What steps will reproduce the bug?\n\n## mytest.test.mjs\n```\nimport { test } from \"node:test\";\n\ntest(\"a1\", (t) => {\n  console.log(t.name);\n});\n\ntest(\"a2\", (t) => {\n  console.log(t.name);\n});\n\ntest(\"b1\", (t) => {\n  console.log(t.name);\n});\n```\n\n## run.mjs\n```js\nimport * as test from \"node:test\";\nimport { spec } from \"node:test/reporters\";\n\ntest\n  .run({\n    globPatterns: [\"mytest.test.mjs\"],\n    testNamePatterns: [\"a\"],\n    testSkipPatterns: [\"a2\"],\n    isolation: \"none\",\n  })\n  .compose(spec)\n  .pipe(process.stdout);\n```\n\n## output\n```\na1\na2\nb1\n✔ a1 (1.1461ms)\n✔ a2 (0.2373ms)\n✔ b1 (0.2315ms)\n```\nthat is incorrect, only a1 should run.\n\n\n\n### How often does it reproduce? Is there a required condition?\n\nalways\n\n### What is the expected behavior? Why is that the expected behavior?\n\nexpected behavior is to run only a1\n```\na1\n✔ a1 (1.1336ms)\n```\n\nbecause\n- a2 should be skipped by testSkipPatterns: [\"a2\"]\n- b1 should be discarded by testNamePatterns: [\"a\"]\n\n\n\n\n\n### What do you see instead?\n\n```\na1\na2\nb1\n✔ a1 (1.1461ms)\n✔ a2 (0.2373ms)\n✔ b1 (0.2315ms)\n```\n\n### Additional information\n\nUsing isolation: \"process\" has the expected behavior\n\nrepor code: https://github.com/galdebert/repro-bug-node-test-runner","author":{"url":"https://github.com/galdebert","@type":"Person","name":"galdebert"},"datePublished":"2025-03-10T12:41:49Z","url":"https://github.com/nodejs/node/issues/57399"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:082a510f-15ef-917d-95df-748730626fed
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA8B0:3CE69D:7B22F1:A05E83:6AED35D8
html-safe-noncea7964924c98eb653e193cdeb383d1d65528b737da526da413311a8b6f66b45e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEIwOjNDRTY5RDo3QjIyRjE6QTA1RTgzOjZBRUQzNUQ4IiwidmlzaXRvcl9pZCI6IjE2NDUwMDM4NTk0ODc5NjI1ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca102564f71347fcba1ba00545b6cda8e3dc65a068adbc5c1965b80f09712e12b
hovercard-subject-tagissue:2907148743
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/57399/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f27c0c509fc4a22b5b7f53630b913ecf771ea970cc0c4990600f3ca2721f7242/nodejs/node/issues/57399
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f27c0c509fc4a22b5b7f53630b913ecf771ea970cc0c4990600f3ca2721f7242/nodejs/node/issues/57399
og:image:altVersion v22.14.0, v23.8.0 Platform Microsoft Windows NT 10.0.19045.0 x64 Subsystem test What steps will reproduce the bug? mytest.test.mjs import { test } from "node:test"; test("a1", (t) => { cons...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegaldebert
hostnamegithub.com
expected-hostnamegithub.com
None26c92a9388ddfad3fa88d132b5d5f0b4747030233dcc4e5efb05f1cbae152184
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec629ad99c254d306375fc8354d04321c2c362236
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/57399#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F57399
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F57399
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/57399
Reloadhttps://github.com/nodejs/node/issues/57399
Reloadhttps://github.com/nodejs/node/issues/57399
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues656 (656)https://github.com/nodejs/node/issues
Pull requests665 (665)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/57399
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/57399
test runner run() ignores testNamePatterns and testSkipPatterns when isolation is "none"https://github.com/nodejs/node/issues/57399#top
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
test_runnerIssues and PRs related to the test runner subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22test_runner%22
https://github.com/galdebert
galdeberthttps://github.com/galdebert
on Mar 10, 2025https://github.com/nodejs/node/issues/57399#issue-2907148743
https://github.com/galdebert/repro-bug-node-test-runnerhttps://github.com/galdebert/repro-bug-node-test-runner
https://github.com/cecia234
cecia234https://github.com/cecia234
on Mar 10, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2711406708
node/lib/internal/test_runner/test.jshttps://github.com/nodejs/node/blob/dba6fdc82546c9b0c258fb86423aecd890a786ae/lib/internal/test_runner/test.js#L929
dba6fdchttps://github.com/nodejs/node/commit/dba6fdc82546c9b0c258fb86423aecd890a786ae
node/lib/internal/test_runner/runner.jshttps://github.com/nodejs/node/blob/dba6fdc82546c9b0c258fb86423aecd890a786ae/lib/internal/test_runner/runner.js#L456
dba6fdchttps://github.com/nodejs/node/commit/dba6fdc82546c9b0c258fb86423aecd890a786ae
node/lib/internal/test_runner/test.jshttps://github.com/nodejs/node/blob/dba6fdc82546c9b0c258fb86423aecd890a786ae/lib/internal/test_runner/test.js#L746
dba6fdchttps://github.com/nodejs/node/commit/dba6fdc82546c9b0c258fb86423aecd890a786ae
https://github.com/pmarchini
pmarchinihttps://github.com/pmarchini
on Mar 10, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2712021091
@cecia234https://github.com/cecia234
https://github.com/nodejs/node/blob/main/test/parallel/test-runner-no-isolation-filtering.jshttps://github.com/nodejs/node/blob/main/test/parallel/test-runner-no-isolation-filtering.js
node/test/parallel/test-runner-no-isolation-filtering.jshttps://github.com/nodejs/node/blob/1b655c76313b36fd6c1a368af4311c4610132b89/test/parallel/test-runner-no-isolation-filtering.js#L56-L72
1b655c7https://github.com/nodejs/node/commit/1b655c76313b36fd6c1a368af4311c4610132b89
pmarchinihttps://github.com/pmarchini
test_runnerIssues and PRs related to the test runner subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22test_runner%22
on Mar 10, 2025https://github.com/nodejs/node/issues/57399#event-16662616141
https://github.com/cecia234
cecia234https://github.com/cecia234
on Mar 11, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2712824855
@pmarchinihttps://github.com/pmarchini
https://github.com/danielmbrasil
danielmbrasilhttps://github.com/danielmbrasil
on Mar 17, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2730326970
@cecia234https://github.com/cecia234
https://github.com/cecia234
cecia234https://github.com/cecia234
on Mar 17, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2730365652
@danielmbrasilhttps://github.com/danielmbrasil
https://github.com/cecia234
cecia234https://github.com/cecia234
on Mar 17, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2730436001
@pmarchinihttps://github.com/pmarchini
https://github.com/pmarchini
pmarchinihttps://github.com/pmarchini
on Mar 17, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2730467237
@pmarchinihttps://github.com/pmarchini
https://github.com/cecia234
cecia234https://github.com/cecia234
on Mar 19, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2735652245
@danielmbrasilhttps://github.com/danielmbrasil
https://github.com/galdebert/repro-bug-node-test-runner/blob/main/run-isolation-none.mjshttps://github.com/galdebert/repro-bug-node-test-runner/blob/main/run-isolation-none.mjs
https://github.com/danielmbrasil
danielmbrasilhttps://github.com/danielmbrasil
on Mar 19, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2736403094
@cecia234https://github.com/cecia234
https://github.com/danielmbrasil
danielmbrasilhttps://github.com/danielmbrasil
on Mar 21, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2744115794
@pmarchinihttps://github.com/pmarchini
node/lib/internal/test_runner/runner.jshttps://github.com/nodejs/node/blob/a46af03e244bfe9bf9149054bcfe870290c55167/lib/internal/test_runner/runner.js#L668-L682
a46af03https://github.com/nodejs/node/commit/a46af03e244bfe9bf9149054bcfe870290c55167
node/lib/internal/test_runner/runner.jshttps://github.com/nodejs/node/blob/a46af03e244bfe9bf9149054bcfe870290c55167/lib/internal/test_runner/runner.js#L377-L379
a46af03https://github.com/nodejs/node/commit/a46af03e244bfe9bf9149054bcfe870290c55167
https://github.com/pmarchini
pmarchinihttps://github.com/pmarchini
on Apr 26, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2832516373
@danielmbrasilhttps://github.com/danielmbrasil
https://github.com/danielmbrasil
danielmbrasilhttps://github.com/danielmbrasil
on May 28, 2025https://github.com/nodejs/node/issues/57399#issuecomment-2916590382
@pmarchinihttps://github.com/pmarchini
https://github.com/sempasha
sempashahttps://github.com/sempasha
on Aug 28, 2025https://github.com/nodejs/node/issues/57399#issuecomment-3233007570
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Apr 20, 2026https://github.com/nodejs/node/issues/57399#issuecomment-4277987199
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
on Apr 20, 2026https://github.com/nodejs/node/issues/57399#event-24662578739
inukshukhttps://github.com/inukshuk
on May 17, 2026https://github.com/nodejs/node/issues/57399#event-25624276518
test_runner: use run options with isolation="none"https://github.com/inukshuk/node/commit/c4f62206763995780e7ae02a6f75af12a491d254
c4f6220https://github.com/inukshuk/node/commit/c4f62206763995780e7ae02a6f75af12a491d254
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on May 21, 2026https://github.com/nodejs/node/issues/57399#issuecomment-4504056014
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
not plannedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on May 21, 2026https://github.com/nodejs/node/issues/57399#event-25783883599
inukshukhttps://github.com/inukshuk
on Aug 18, 2026https://github.com/nodejs/node/issues/57399#event-29607902195
test_runner: use run options with isolation="none"https://github.com/inukshuk/node/commit/c61404d4ec12cdb66f69f5a330af028408e6ced0
c61404dhttps://github.com/inukshuk/node/commit/c61404d4ec12cdb66f69f5a330af028408e6ced0
trivikrhttps://github.com/trivikr
on Aug 22, 2026https://github.com/nodejs/node/issues/57399#event-29835517969
test_runner: use run options with isolation="none"https://github.com/nodejs/node/commit/34db39b96381cba2dd7149400b86c2f42518e736
34db39bhttps://github.com/nodejs/node/commit/34db39b96381cba2dd7149400b86c2f42518e736
aduh95https://github.com/aduh95
on Aug 25, 2026https://github.com/nodejs/node/issues/57399#event-30010186069
test_runner: use run options with isolation="none"https://github.com/nodejs/node/commit/11e237c9460a894699b05009b4353101f86e6e87
11e237chttps://github.com/nodejs/node/commit/11e237c9460a894699b05009b4353101f86e6e87
test_runner: use run options with isolation="none"https://github.com/nodejs/node/commit/cce803b174ca6f19d0ce9274f0b5449b9ba14d87
cce803bhttps://github.com/nodejs/node/commit/cce803b174ca6f19d0ce9274f0b5449b9ba14d87
test_runner: use run options with isolation="none"https://github.com/nodejs/node/commit/4baafe3c6ca1d9b0de40d51de0e7ffc54135cbd7
4baafe3https://github.com/nodejs/node/commit/4baafe3c6ca1d9b0de40d51de0e7ffc54135cbd7
aduh95https://github.com/aduh95
on Sep 7, 2026https://github.com/nodejs/node/issues/57399#event-30681668326
test_runner: use run options with isolation="none"https://github.com/nodejs/node/commit/be3c8fdb97cd86d2c99403cee9929b0ffe4f6c76
be3c8fdhttps://github.com/nodejs/node/commit/be3c8fdb97cd86d2c99403cee9929b0ffe4f6c76
test_runner: use run options with isolation="none"https://github.com/nodejs/node/commit/7cb9c9c126741099a36af0748b9446b7a0820edc
7cb9c9chttps://github.com/nodejs/node/commit/7cb9c9c126741099a36af0748b9446b7a0820edc
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/57399
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/57399
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
test_runnerIssues and PRs related to the test runner subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22test_runner%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.