Add unit tests
还没有人认领这个 Issue。
评估
调研方向
首先检查 cmd 模块中的 CLI 入口点和现有的 internal 模块,以确定需要覆盖的功能以及提议迁移的逻辑。为 CLI 行为添加单元测试,并且仅在边界明确的情况下移动适当的逻辑;当 CLI 功能已覆盖且测试套件通过时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
We should add unit tests to verify CLI functionality. We should probably also move some of the logic out of the cmd module and into the internal module.
- 主要语言
- Go
- 星标
- 66
- 派生
- 64
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperledger-firefly/cli 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
hyperledger-firefly/cli#357 ·
-
bug good first issue
难度 3/5 1-2 天 新手友好度 45/100
hyperledger-firefly/cli#343 · 1 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 25/100
hyperledger-firefly/cli#339 · 7 条评论 ·
-
bug Windows WSL
难度 3/5 1-2 天 新手友好度 25/100
hyperledger-firefly/cli#335 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
hyperledger-firefly/cli#334 · 2 条评论 ·
查看 hyperledger-firefly/cli 的全部 Issue
相似的 Issue
-
validateDeclaredPath lets control characters through into the Gradle init script's Groovy literal未关闭agent-butler-finding agent-research bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 78/100
jordansmall/spindrift#5821 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
apache/rocketmq-dashboard#7243 ·
维护者通常 3 天内回复
-
Missing example coverage: getClock可能已有人在做 @camunda-sdk-automation 今天认领。 未关闭new-operations
难度 2/5 1-3 小时 新手友好度 62/100
camunda/orchestration-cluster-api-go#75 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
praetorianer777/Stator#465 ·
维护者通常 1 天内回复