python / python/pymanager

Test coverage

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

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

good first issue help wanted
主要言語
Python
スター
344
フォーク
74
平均マージ
1日 3時間
マージ済み PR(30日)
7

説明

Test coverage is somewhat spotty right now. Plenty of the core pieces are covered, along with actual bugs that were discovered by usage, but there are plenty of obvious gaps in our current verification.

Any contribution to increase coverage of the pytest tests is welcome.

Note that these tests do not have a usable py command, and so need to be structured to not rely on that - plenty of mocks, monkey-patching and directly importing commands is intended!

(For tests that can only be run after the full app is compiled/installed, create a new issue describing the scenario and why you think it wouldn't be valid as a unit test.)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

まず既存の pytest テストスイートを調査し、ユニットテストでテスト可能な、未カバーの中核領域を特定します。この issue では具体的なファイルやエントリーポイントは指定されていません。必要に応じてモック、モンキーパッチ、またはコマンドの直接インポートを使用し、使用可能な py コマンドに依存しない形でテストを構成します。選択した不足箇所に対する焦点を絞ったカバレッジを追加し、アプリ全体をコンパイルまたはインストールせずにテストを有効な状態に保てれば完了です。

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

評価

技術スタック
python
領域
testing-qa
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
45/100

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

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