barelyhuman / barelyhuman/commitlog

Test Cases

未关闭
#3 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good first issue tests
主要语言
Go
星标
81
派生
3
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

调研方向

Issue 中没有指定文件或测试入口。首先定位 Go CLI 现有的测试结构及其 repository 和 tag 处理逻辑,然后为列出的每种 repository 状态添加覆盖,并验证所有预期输出和失败行为都能通过。

由索引模型根据 Issue 内容生成。

评估

技术栈
git, go
领域
cli, testing
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。