Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Increase Test Coverage

Đang mở
#10 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
cli, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

good first issue testing

##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.

Ngôn ngữ chính
Go
Star
1
Fork
2
Merge trung bình
1 giờ 31 phút
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Edwin-metcalf/MetCode

Tất cả issue của Edwin-metcalf/MetCode

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.