Add unit tests
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 重构
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- testing-qa
调研方向
查看相关的清理 issue #160 和 #164,然后检查当前调用 sys.exit() 的内部代码路径。确定哪些行为需要单元测试覆盖,以及应在何处用 CommandFailedError 替代这些退出操作。完成的标准是:相关单元测试已经存在,并且内部失败行为已得到覆盖,无需依赖全栈测试。
由索引模型根据 Issue 内容生成。
描述
There are a number of full-stack tests, but few unit tests.
A few cleanup items that would help:
- #160
- #164
- raise a new
CommandFailedErrorin internal code instead of callingsys.exit()
- 主要语言
- Python
- 星标
- 1k
- 派生
- 203
- 平均合并
- 1 小时 20 分钟
- 30 天内合并 PR
- 2
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python/pyperformance 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
python/pyperformance#346 · 3 条评论 ·
-
python/pyperformance#474 · 4 个 reaction · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 25/100
python/pyperformance#473 ·
-
难度 3/5 1-2 天 新手友好度 55/100
python/pyperformance#464 ·
-
难度 4/5 3-5 天 新手友好度 48/100
python/pyperformance#460 · 2 条评论 · 1 个 reaction ·