android / android/testing-samples

@RequiresDevice annotation not working

Aperta
#123 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
9.3k
Fork
3.6k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, java
Ambito
mobile, testing
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.