nodejs / nodejs/core-validate-commit
Add Tests for command line arguments
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 55
- 派生
- 62
- 平均合并
- 4 天 9 小时
- 30 天内合并 PR
- 1
描述
When i was adding in the tests for the --list-subsystem flag, i noticed that there were no tests for the other command line flags.
Now that there is a test for list-subsystems(which has affected the code coverage), there should probably be tests for the other commands
Instead of creating separate issues for each command, this issue is to track the addition of those other tests.
- usage
- version
- validate-metadata
- tap
- list
- list-subsystems
I'm happy to continue working on adding these items :)
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查 --list-subsystems 标志的现有测试,以及 usage、version、validate-metadata、tap 和 list 的命令行入口。为每个尚未测试的命令添加覆盖率并运行测试套件;当所有列出的命令都有与 list-subsystems 相当的测试时,该 issue 即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- cli, testing-qa
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100