Prueba apps en Android   Parte de Android Jetpack.

Probar la app es una parte integral del proceso de desarrollo de la app. Cuando ejecutas pruebas de manera coherente, puedes verificar la corrección, el comportamiento funcional y la usabilidad de la app antes de lanzarla públicamente.

Las pruebas también ofrecen las siguientes ventajas:

  • Avisos rápidos sobre fallas.
  • Detección temprana de fallos en el ciclo de desarrollo.
  • Refactorización de código más segura, que permite optimizar el código sin preocuparse por las regresiones.
  • Velocidad de desarrollo estable, que ayuda a minimizar la deuda técnica

Documentación

En la documentación, se incluyen las prácticas recomendadas para probar apps para Android:

Recursos adicionales

Para obtener más información sobre las pruebas en Android, consulta los siguientes recursos.

Ejemplos

Codelabs

Contenido multimedia

This is part 2 of the Testing at scale series of articles where we asked industry experts to share their testing strategies. In this article, Ryan Harter, Staff Engineer at Dropbox, shares how the shape of Dropbox’s testing pyramid changed over time,

This is part of the Testing at scale series of articles where we asked industry experts to share their testing strategies. In this article, Ken Yee, Senior Engineer at Netflix, tells us about the challenges of testing a playback app at a massive

We’re excited to announce the new “Testing at scale” blog series! In these posts, industry experts working on different apps share their testing strategies, tips, and obstacles found along the way. This series complements the new Testing Strategies

You can test a ViewModel by simply creating an instance using its constructor in your test code. However, this approach has limitations — there is no straightforward way to: With ViewModelScenario, these are now easy to test, helping you catch errors