Overhaul Packages Testing: Add tests for `torrust-tracker-core` package

オープン
#2,902 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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:

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.

主要言語
Rust
スター
532
フォーク
56
平均マージ
11時間 20分
マージ済み PR(30日)
282

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

torrust/torrust-tracker のほかの issue

torrust/torrust-tracker の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。