Menguji aplikasi di Android   Bagian dari Android Jetpack.

Menguji aplikasi Anda adalah bagian integral dari proses pengembangan aplikasi. Dengan menjalankan pengujian terhadap aplikasi secara konsisten, Anda dapat memverifikasi ketepatan, perilaku fungsional, dan kegunaan aplikasi sebelum merilisnya ke publik.

Pengujian juga menawarkan keuntungan berikut:

  • Masukan cepat tentang kegagalan.
  • Deteksi kegagalan awal dalam siklus pengembangan.
  • Pemfaktoran ulang kode yang lebih aman, yang memungkinkan Anda mengoptimalkan kode tanpa khawatir terhadap regresi.
  • Kecepatan pengembangan yang stabil, yang membantu Anda meminimalkan biaya teknis.

Dokumentasi

Dokumentasi ini membahas praktik terbaik seputar pengujian aplikasi Android:

Referensi lainnya

Untuk informasi selengkapnya tentang pengujian pada Android, lihat referensi berikut.

Contoh

Codelab

Media

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