android / android/testing-samples

@RequiresDevice annotation not working

オープン
#123 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
9.3k
フォーク
3.6k
PR マージ指標
30日以内にマージされた PR はありません

説明

Steps to reproduce:
1. Download one of the example test projects
2. Add @RequiresDevice over some test.
3. Run tests on emulator (API 23 x86)

Expected result:
Test with @RequiresDevice should NOT start on the emulator
Actual result:
Test with @RequiresDevice starts on the emulator

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with one of the example test projects and reproduce the issue using @RequiresDevice on a test running on an API 23 x86 emulator. Trace the annotation's test-device handling and verify that the annotated test no longer starts on the emulator while still running on a physical device.

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

評価

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

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

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