android / android/testing-samples
@RequiresDevice annotation not working
Abierto
- Lenguaje dominante
- Java
- Estrellas
- 9.3k
- Forks
- 3.6k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, java
- Área
- mobile, testing
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100