Maybe make UVBeam tests more modular

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
testing

調査の方向性

まず UVBeam のテストを見つけ、複数の側面をカバーしているテストや、セットアップ作業を繰り返しているテストを確認してください。実行可能な場合はケースを分離し、パフォーマンス上の理由でまとめたままにするテストについては、その理由を説明するコメントを追加してください。UVBeam のテストスイートでは、失敗をより具体的にし、個々のテストを追いやすくする必要があります。

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

説明

beams technical debt test

Some of the tests for the UVBeam object are relatively long, and test multiple aspects. Some of this is for performance reasons, to save duplicated work getting the object to be in the right state for a given test. However, we should still try to be as modular as possible, so that a failed test is more indicative of what exactly went wrong and individual tests are easier to follow. In cases where it doesn't make sense to break tests up, we should add comments explaining the motivation behind keeping things as they are.

主要言語
Python
スター
103
フォーク
40
平均マージ
4日 11時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

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

RadioAstronomySoftwareGroup/pyuvdata のほかの issue

RadioAstronomySoftwareGroup/pyuvdata の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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