Overhaul Packages Testing: Add tests for `torrust-tracker-core` package
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 42/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Rust
- Stars
- 532
- Forks
- 56
- Avg merge
- 11h 20m
- Merged PRs (30d)
- 282
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 torrust/torrust-tracker
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
torrust/torrust-tracker#3080 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
torrust/torrust-tracker#3069 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
torrust/torrust-tracker#3058 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
torrust/torrust-tracker#2978 ·
Maintainers usually reply within 1 day
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
torrust/torrust-tracker#2332 ·
Maintainers usually reply within 1 day
All issues in torrust/torrust-tracker
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
difficulty: easy docs help wanted tooling
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
-
bug help wanted ui
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
userFRM/egui-charts#4386 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
eliasstravik/herdr-projects#1605 · 1 comment ·