Make command line tests faster
オープン
まだ誰も着手していません。
good-first-issue
priority-0-high
topic-developer
topic-tests
- 主要言語
- Python
- スター
- 20.6k
- フォーク
- 3.3k
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 54
説明
Command line tests in test-data/unit/cmdline.test are very slow since they use full typeshed stubs and run mypy in a subprocess. It looks like many of them would be easy to migrate to be normal type checker tests, or some of then could be even regular Python unit tests. Alternatively, we could perhaps use test stubs with them.
Speeding up report generation tests may also be easy.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
test-data/unit/cmdline.test から始め、完全な typeshed スタブと mypy サブプロセスを使用することで時間がかかっているコマンドラインテストを測定します。通常の type checker テストまたは Python ユニットテストにできるテストを特定し、テストスタブが役立つかどうかも検討します。また、レポート生成テストも調査します。完了の条件は、関連するテストがカバレッジを維持しながら、より高速に実行されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli, performance, testing-qa
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100