Test Cases
还没有人认领这个 Issue。
评估
调研方向
Issue 中没有指定文件或测试入口。首先定位 Go CLI 现有的测试结构及其 repository 和 tag 处理逻辑,然后为列出的每种 repository 状态添加覆盖,并验证所有预期输出和失败行为都能通过。
由索引模型根据 Issue 内容生成。
描述
Add test files for the following cases
- if in a git repository
- output if not in a git repository
- on a repo with just 1 commit and no tags
- on a repo with just 1 commit and 1 tag
- on a repo with 1 commit and multiple tags pointing to same commit
- on a repo with 1 tag and multiple commits
- on a repo with multiple tags and multiple commits
- 主要语言
- Go
- 星标
- 81
- 派生
- 3
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
barelyhuman/commitlog 的其他 Issue
-
enhancement
barelyhuman/commitlog#15 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 55/100
barelyhuman/commitlog#14 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
barelyhuman/commitlog#13 ·
-
Overwrite Mode 未关闭enhancement
难度 3/5 1-2 天 新手友好度 45/100
barelyhuman/commitlog#12 ·
查看 barelyhuman/commitlog 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
santhosh-tekuri/jsonschema#276 ·