Increase Test Coverage
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start with the listed tests in internal/conversation/conversation_test.go, internal/ui/ui_test.go, and internal/tools/tools_test.go, then read the named functions in internal/ui/commands.go and internal/tools/files.go. Add focused tests for chooseModel, handleSave, handleLoad, name validation, or isProtected; the issue says no Ollama or network access is needed. Done means new coverage for one or more listed cases, though the issue leaves the scope open-ended.
Written by the indexing model from the issue text.
Description
##What
This is a general issue to increase test coverage across MetCode.
##Where
internal/conversation/conversation_test.go
internal/ui/ui_test.go. Functions in internal/ui/commands.go.
internal/tools/files.go. Tests in internal/tools/tools_test.go.
##Cases to Cover
- chooseModel
- handleSave
- handleLoad
- name validation
- isProtected
##Done When
This is kind of an open issue that will almost always be alive but, feel free to add test that increase coverage
##Notes
No Ollama and no network requried.
- Dominant language
- Go
- Stars
- 1
- Forks
- 2
- Avg merge
- 1h 31m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Edwin-metcalf/MetCode
-
documentation enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Edwin-metcalf/MetCode#19 ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Edwin-metcalf/MetCode#18 ·
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Edwin-metcalf/MetCode#16 ·
-
testing
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Edwin-metcalf/MetCode#9 ·
-
Add a MakefileOpenenhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Edwin-metcalf/MetCode#8 ·
All issues in Edwin-metcalf/MetCode
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
QuantumNous/new-api#7839 ·
Maintainers usually reply within 1 day
-
bug needs-triage service/costoptimizationhub
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
hashicorp/terraform-provider-aws#50507 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
adcontextprotocol/adcp-go#567 ·
Maintainers usually reply within 1 day
-
bug raised-by:desk
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
medici-finance/assay#3097 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
supabase-community/supabase-kubernetes#275 ·
Maintainers usually reply within 1 day