android / android/testing-samples
Sample request: Provider test
- 主要言語
- Java
- スター
- 9.3k
- フォーク
- 3.6k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I'd be interested in seeing a sample of how provider testing should be done without ProviderTestCase2. I'm currently using it, and the deprecated RenamingDelegatingContext for cases where I want to make sure tests are only working with test files, and it works fine, however ProviderTestCase2 relies on the deprecated AndroidTestCase and internally uses the deprecated classes IsolatedContext and RenamingDelegatingContext - so it feels like ProviderTestCase2 is a deprecation candidate.
コントリビューションガイド
調査の方向性
まず ProviderTestCase2 と、そこでの AndroidTestCase、IsolatedContext、RenamingDelegatingContext の使用を確認します。これらの非推奨クラスを使わずに provider をテストする例を作成します。その例で、現在のテスト API を使用したテストファイルへの分離されたアクセスを示せれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, java
- 領域
- mobile, testing
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100