Redundant & different test cases for different algorithms solving the same problem
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- rust
- 領域
- testing-qa
調査の方向性
まず、ソートアルゴリズムの既存のテストケースを確認し、どの動作が重複しているかを比較します。場合によってはファジングを含む、共有された包括的なテストアプローチを定義し、不要なアルゴリズム固有の重複を残さずに、すべての実装がカバーされていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Consider e.g. the sorting algorithms: They all solve the same problem, yet each has its own test cases. This is only warranted if the tests are to test implementation details.
However, the better approach here is to write one comprehensive test suite - perhaps even using fuzzing - and testing all implementations against it. This will both increase coverage and reduce test duplication.
- 主要言語
- Rust
- スター
- 26.1k
- フォーク
- 2.6k
- 平均マージ
- 5時間 52分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TheAlgorithms/Rust のほかの issue
-
dont-close
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
TheAlgorithms/Rust#578 · コメント 13 件 · リアクション 3 件 ·
TheAlgorithms/Rust の issue をすべて見る
似ている issue
-
agent duplicate providers tool triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
founders_reward panics on a configured Testnet when the slow-start subsidy is not a multiple of 5オープンexternal-contribution
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ZcashFoundation/zebra#11792 ·
メンテナーはふだん 1 日以内に返信
-
content:edit documentation effort:high
難易度 1/5 1〜3時間 初心者へのやさしさ 67/100
cloudflare/cloudflare-docs#34428 ·
メンテナーはふだん 1 日以内に返信
-
area/cli bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100