easier way to specify alternate reporter
未关闭
- 主要语言
- JavaScript
- 星标
- 1.9k
- 派生
- 359
- PR 合并指标
- 30 天内没有已合并 PR
描述
Would it be possible to change the --reporter command-line option so only a name can be specified to use built-in reporters rather than the full path to them?
For example, I'd like to use
--reporter=tap
instead of
--reporter=/usr/local/lib/node_modules/nodeunit/lib/reporters/tap.js
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先定位 --reporter 选项的命令行处理逻辑以及内置 reporter 文件,包括 tap.js。检查当前完整路径值的解析方式和现有的 CLI 测试。完成标准是:--reporter=tap 选择内置的 TAP reporter,同时现有的完整路径用法继续正常工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, node.js
- 领域
- cli, testing-qa
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100