barelyhuman / barelyhuman/commitlog

Test Cases

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
good first issue tests
Dominant language
Go
Stars
81
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

No files or test entry points are named in the issue. Start by locating the Go CLI's existing test structure and its repository and tag handling, then add coverage for each listed repository state and verify that all expected outputs and failure behavior pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, go
Domain
cli, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.