{"record":{"id":"1bc04d7acb56186d","repo":"oven-sh/bun","slug":"unsupported-test-runner-testrunner","errorCode":null,"errorMessage":"Unsupported test runner: ${testRunner}","messagePattern":"Unsupported test runner: (.+?)","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"scripts/runner.node.mjs","lineNumber":1214,"sourceCode":"        cwd: vendorPath,\n        args: [\"run\", \"build\"],\n        timeout: 60_000,\n      });\n      if (!buildResult.ok) {\n        throw new Error(`Failed to build vendor: ${buildResult.error}`);\n      }\n\n      for (const testPath of testPaths) {\n        const title = join(relative(cwd, vendorPath), testPath).replace(/\\\\/g, \"/\");\n\n        if (testRunner === \"bun\") {\n          await runTest(title, index =>\n            spawnBunTest(execPath, testPath, { cwd: vendorPath, env: { TEST_SERIAL_ID: index } }),\n          );\n        } else {\n          const testRunnerPath = join(cwd, \"test\", \"runners\", `${testRunner}.ts`);\n          if (!existsSync(testRunnerPath)) {\n            throw new Error(`Unsupported test runner: ${testRunner}`);\n          }\n          await runTest(title, () =>\n            spawnBunTest(execPath, testPath, {\n              cwd: vendorPath,\n              args: [\"--preload\", testRunnerPath],\n            }),\n          );\n        }\n      }\n    }\n  }\n\n  // tests are all over, close the group from the final test. any further output should print ungrouped.\n  startGroup(\"End\");\n\n  if (isGithubAction) {\n    reportOutputToGitHubAction(\"failing_tests_count\", failedResults.length);\n    const markdown = formatTestToMarkdown(failedResults, false, 0);","sourceCodeStart":1196,"sourceCodeEnd":1232,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/scripts/runner.node.mjs#L1196-L1232","documentation":"Error \"Unsupported test runner: ${testRunner}\" thrown in oven-sh/bun.","triggerScenarios":"Thrown at scripts/runner.node.mjs:1214 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}