android / android/android-test
[Espresso-Flutter] Testing API for Flutter's ListView/GridView
- Lenguaje dominante
- Java
- Estrellas
- 1.2k
- Forks
- 342
- Merge medio
- 11 h 29 min
- PR fusionados (30 d)
- 2
Descripción
Like Espresso's onData API for interacting with native AdapterView/RecyclerView, we'd like to have similar testing API for Flutter's ListView/GridView. ListView has support for:
- A set of fixed children items;
- Dynamically built child items through its ListView.builder;
- An infinite number of children items without specifying the `itemCount` in its ListView.builder.
After doing some experiments, it's doable to match against the sliver which backs up the ListView data, but we cannot jump to a given position/index in the ListView today (blocked by https://github.com/flutter/flutter/issues/12319).
Guía de contribución
Línea de trabajo
Empieza revisando el comportamiento solicitado de la API Espresso-Flutter en este issue y el issue 12319 de Flutter enlazado sobre saltar a una posición de ListView. Define cómo debe funcionar el matching para children fijos, children creados por un builder y builders sin itemCount; el trabajo estará terminado cuando esos casos dispongan de una testing API utilizable.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- flutter
- Área
- mobile, testing
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 25/100