theupdateframework / theupdateframework/python-tuf
Revise test_updater_ng.py
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 1.7k
- フォーク
- 304
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 17
説明
Description of issue or feature request:
Currently test_updater_ng.py is the single place where ngclient/updater.py is tested with an HTTP server instance serving files from the file system and not with the in-memory files served by RepositorySimulator. The tests included are not well thought out and were added with the goal of achieving acceptable test coverage.
Revise the existing tests and determine what is worth keeping and/or what should be added to build a meaningful set of integration tests of Updater + HTTP server.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
test_updater_ng.py から始め、ファイルシステムをバックエンドとする HTTP サーバーのセットアップと、RepositorySimulator がメモリ上で提供するファイルを比較します。既存のテストで対象となっている Updater と HTTP サーバーの統合を理解するため、ngclient/updater.py を読みます。既存の有用なカバレッジを維持し、意味のある統合テストセットになるようにテストを追加または見直せば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing-qa
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100