okfgen: no test covers `--rev`'s branch auto-detection happy path

Open Beginner friendly
#171 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
cli, testing

Research direction

Read the okfgen CLI tests and the existing test that builds a git repository for the detached-HEAD case. Add a focused test for --rev branch auto-detection without making all fixture repositories git-backed. Run the relevant test suite; done when the test verifies the detected branch name and the existing fixtures remain outside git.

Written by the indexing model from the issue text.

Description

test

Extracted from ROADMAP.md (producers/OkfProducer follow-ups).

Every CLI fixture repository is deliberately outside git, which keeps the suite at about 16 s with no MSBuild spawned. The detached-HEAD case is covered by the one test that builds a git repository. The auto-detected branch name is verified only by manual runs.

Add a test for the happy path without making the whole fixture set git-backed.

Dominant language
C#
Stars
4
Forks
1
Avg merge
1d 4h
Merged PRs (30d)
32

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jchable/okf4net

All issues in jchable/okf4net

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.