在 Android 上測試應用程式   Android Jetpack 的一部分。

測試應用程式是應用程式開發流程中不可或缺的一環。藉由持續測試應用程式,您可以在公開發布應用程式前,驗證應用程式的正確性、功能行為和可用性。

測試還有以下優點:

  • 針對失敗狀況提供快速意見回饋
  • 在開發週期中及早偵測失敗情形
  • 更安全的程式碼重構,讓您在進行程式碼最佳化時,不必擔心回歸問題。
  • 穩定的開發速度,協助您盡量減少技術債。

說明文件

說明文件涵蓋測試 Android 應用程式的最佳做法:

其他資源

如要進一步瞭解如何在 Android 裝置上測試,請參閱下列資源。

範例

程式碼研究室

媒體

In order to launch new features on their Android app, Headspace spent 8 months refactoring their architecture and rewriting in Kotlin. Learn how this reboot helped their business grow.

SmartNews helps millions of people discover their world everyday by sharing timely news from a diverse set of news sources.

Twitter is one of the most widely used social media platforms where users can see what’s happening in the world at any given moment.

The Google Home app helps set up, manage, and control your Google Home, Google Nest, and Chromecast devices—plus thousands of connected home products like lights, cameras, thermostats, and more.