android / android/testing-samples

@RequiresDevice annotation not working

Ouverte
#123 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
9.3k
Forks
3.6k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, java
Domaine
mobile, testing
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.