Add unit tests for api-tools/utils
评估
调研方向
该 issue 指向 api-tools/utils 和 Go 内置的 testing 库;首先阅读工具文件并检查该包当前的测试布局。为这些工具添加 _test.go 单元测试覆盖,并在适当情况下将测试保留在同一个包中,同时确认 Go 测试套件通过。
由索引模型根据 Issue 内容生成。
描述
Add unit tests using Go's built-in testing library. I would personally be in favor of the test files being within the same package as the files being tested so that non-exported methods can be tested more easily; make sure to follow the _test.go file naming convention detailed in the linked docs. Be sure to seek out resources for details on how to write good unit tests if you are unsure.
- 主要语言
- Go
- 星标
- 12
- 派生
- 54
- 平均合并
- 2 分钟
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
UTDNebula/api-tools 的其他 Issue
-
Improve unit tests in sectionParser_test.go可能已有人在做 @Sidd-Pelluru 于 22 天前认领。 未关闭L1 recommended for recruits
难度 2/5 1-3 小时 新手友好度 88/100
-
Improve unit tests in discountsParser_test.go可能已有人在做 @LikithInam 于 8 天前认领。 未关闭L1 recommended for recruits
难度 2/5 1-3 小时 新手友好度 88/100
-
L1 recommended for recruits
难度 2/5 1-3 小时 新手友好度 85/100
-
Comet Calendar events with multiple locations可能已有人在做 @azythromycin 于 2 天前认领。 未关闭L1 Type: Bug Report
难度 2/5 1-3 小时 新手友好度 76/100
-
Improve output in events.go可能已有人在做 @DennisOrtin 于 12 天前认领。 未关闭L1 recommended for recruits
难度 2/5 1-3 小时 新手友好度 76/100
查看 UTDNebula/api-tools 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
keyxmakerx/Chronicle#1469 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
Gentleman-Programming/gentle-ai#5565 · 1 条评论 ·
维护者通常 1 天内回复
-
bug frontend grammar sev-3
难度 2/5 1-3 小时 新手友好度 63/100
-
Docs: say where source and device come from in the Withings and Polar guides可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭connector docs good first issue
难度 2/5 1-3 小时 新手友好度 72/100
soma-intelligence/open-health-sync#134 ·
维护者通常 1 天内回复
-
bug frontend
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 3 天内回复