Refactor and improve `GIDEMMSupport` parameters and tests
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- objective-c
調査の方向性
まず GIDEMMSupport の実装と既存の unit test、特に parametersWithParameters と UIDevice を swizzle するテストを読みます。public API がこの動作をどのように公開しているかを確認し、実際のデバイス状態に依存しているテストを特定します。ネストされた配列キーを持つパラメータが安全に破棄され、UIDevice のモックが一貫性を持ち hermetic であり、適切な箇所で public API を対象としたカバレッジが確保されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
This issue tracks follow-up improvements identified during the review of PR #608. We need to address the following technical debt and testing improvements:
- Handle nested data structures: Ensure that the
parametersWithParametersfunction safely drops key parameters that contain values like a nested array. - Standardize
UIDevicemocking: Fix the tests that are swizzlingUIDeviceto "Not Do That," or ensure all tests are doing it the same way. Relying on the realUIDevicewill make tests non-hermetic. - Uplevel tests to the public API: Consider upleveling the new
GIDEMMSupportunit tests to test against the public API instead of testing internal classes in isolation.
- 主要言語
- Objective-C
- スター
- 751
- フォーク
- 282
- 平均マージ
- 4日 20時間
- マージ済み PR(30日)
- 11
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/GoogleSignIn-iOS のほかの issue
-
enhancement triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
google/GoogleSignIn-iOS#621 ·
-
enhancement triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
google/GoogleSignIn-iOS#620 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
google/GoogleSignIn-iOS#440 · コメント 4 件 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
google/GoogleSignIn-iOS#607 ·
-
enhancement triage
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
google/GoogleSignIn-iOS#602 ·
google/GoogleSignIn-iOS の issue をすべて見る
似ている issue
-
Suzhou subway logo オープンIcons Metro Public Transport
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
organicmaps/organicmaps#13617 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
objective-see/LuLu#925 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
noah-nuebling/mac-mouse-fix#2054 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
obsproject/obs-studio#13918 ·