Overhaul Packages Testing: Add tests for `torrust-tracker-core` package
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Read docs/issues/open/2902-1347-add-tests-tracker-core/ISSUE.md for the per-file workflow, pull-request slices, and open design questions; the issue says this specification is proposed in #2903 and will be on develop once merged. Start by checking the packages/tracker-core/ coverage evidence in that specification. Done means delivering the planned test slices and closing the issue with the final slice.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Add tests for the torrust-tracker-core package (packages/tracker-core/).
Parent EPIC: #1347
Specification
The repository-local specification is the source of truth for scope, the per-file workflow, the pull-request slices, the findings and the open design questions. It is proposed in the spec-only pull request #2903:
docs/issues/open/2902-1347-add-tests-tracker-core/ISSUE.md(ondeveloponce #2903 is merged)
The work is delivered in several small pull requests (slices). Only the last one closes this issue.
Baseline Coverage
Measured on 2026-11-17 at develop commit 5833cdae9 with cargo-llvm-cov 0.6.16 and stable Rust 1.99.1, counting only packages/tracker-core/src/:
| Scope | Tests | Lines | Regions | Functions |
|---|---|---|---|---|
Unit-only (--all-features --lib) |
157 unit | 4,099 / 5,104 (80.31%) | 5,716 / 7,127 (80.20%) | 687 / 954 (72.01%) |
Integration-only (--all-features --test integration) |
12 integration | 841 / 1,909 (44.05%) | 936 / 2,506 (37.35%) | 145 / 484 (29.96%) |
Aggregate (--all-features) |
157 unit + 12 integration | 4,230 / 5,149 (82.15%) | 5,834 / 7,182 (81.23%) | 703 / 958 (73.38%) |
The MySQL and PostgreSQL driver suites skip themselves without Docker and two environment variables, so those drivers count as uncovered here; that scope is measured separately. Per-file values are in the specification's coverage evidence.
- Ngôn ngữ chính
- Rust
- Star
- 532
- Fork
- 56
- Merge trung bình
- 11 giờ 20 phút
- Pull request đã merge (30 ngày)
- 282
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của torrust/torrust-tracker
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
torrust/torrust-tracker#3080 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
torrust/torrust-tracker#3069 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
torrust/torrust-tracker#3058 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
torrust/torrust-tracker#2978 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
torrust/torrust-tracker#2332 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của torrust/torrust-tracker
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
marketing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Start here: how to contributeĐang mởdifficulty: easy docs help wanted tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
-
bug help wanted ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
userFRM/egui-charts#4386 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
eliasstravik/herdr-projects#1605 · 1 bình luận ·