nodejs / nodejs/node-api-cts

Choose a suitable test runner execution model

未关闭
#14 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
C
星标
18
派生
12
PR 合并指标
30 天内没有已合并 PR

描述

As per https://github.com/nodejs/node-api-cts/pull/11#discussion_r2604336778, we could either:

  • Disable process isolation (passing --test-isolation=none)
  • Investigate if the default process isolation suffice in providing the isolation we need and we could import the test files instead of spawning a child process manually.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 issue 中引用的讨论开始,审查 Node.js 测试运行器的进程隔离行为,包括 --test-isolation=none。比较禁用隔离与在默认模型下导入测试文件;完成标准是选择并实现一个能够提供所需隔离的执行模型。

由索引模型根据 Issue 内容生成。

评估

技术栈
node.js
领域
testing-qa
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。