Synchronization capabilities: allow to wait for a View or Fragment to exist
まだ誰も着手していません。
評価
調査の方向性
まず、Espresso の Idling システムと、この issue で説明されている同期動作を確認します。test API が View または Fragment をどのように待機するべきかを、タイムアウト条件と失敗条件を含めて定義します。非同期な UI の表示に対する、確定した設計と対応するカバレッジが揃えば完了です。
索引モデルが issue の本文から書いたものです。
説明
Espresso should allow to wait for a View or Fragment to appear (with a timeout).
The "Idling system" makes a lot of assumptions about the implementation details of the app, and makes difficult to test the UI of an asynchronous app without having to instrument async operations in the app, which is simply not realistic for modern apps where everything is async (or should be anyway). This makes the success of the test depend on instrumentation code spread around the codebase instead of just the actual behaviour of the app and the code of the test itself.
In general, testing the UI should not require knowledge about the implementation details of the backend.
It would help if the test API allowed to wait for a View or Fragment to appear, with a timeout or other failure conditions.
Many thanks
- 主要言語
- Java
- スター
- 1.2k
- フォーク
- 342
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 5
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
android/android-test のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
android/android-test#681 · コメント 2 件 · リアクション 1 件 ·
-
ξεκσνδξδ オープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
android/android-test#2499 ·
-
ησξξσ オープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
android/android-test#2498 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
android/android-test#2473 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
android/android-test#2461 · コメント 6 件 · リアクション 4 件 ·
android/android-test の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
infinispan/infinispan#18150 ·
-
area/frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
opensearch-project/k-NN#3597 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100