Practical Guide: Complete Monkey Testing Workflow
This article provides a comprehensive tutorial on Monkey testing for Android applications, covering the complete workflow from environment setup to test execution, monitoring, and analysis.
This article provides a comprehensive tutorial on Monkey testing for Android applications, covering the complete workflow from environment setup to test execution, monitoring, and analysis.
Fastbot is a reusable, model‑based Android GUI testing tool that leverages reinforcement‑learning techniques to learn from previous test runs, accelerating coverage and crash detection through a two‑phase workflow, probabilistic and learning‑based event selection, and provides configurable custom events, widget blocking, and tree‑pruning features.
In the sixth Airbnb Android testing article, the team identifies flaky‑test sources such as nondeterministic sharding, asynchronous execution, view and drawable caching, shared‑preference leaks, time drift, and RecyclerView pre‑fetching, and resolves them by clearing shared state, injecting test‑scoped coroutine scopes, forcing view refreshes, mocking time, clearing drawable caches, disabling pre‑fetching, using synchronous drawables, and wrapping WebViews to block network loads while logging details.
The article details Ctrip's development of a cloud‑native AVD IaaS platform that leverages Kubernetes, Docker, and Android Virtual Devices to provide scalable, cost‑effective, and high‑availability mobile automated testing infrastructure, addressing hardware costs, performance, and operational challenges while supporting continuous integration pipelines.
The article details Youku’s effort to build a test‑effectiveness evaluation system for its client by prioritizing data‑driven code‑coverage metrics, comparing JaCoCo with an internal tool, outlining the native class‑loading architecture, Python‑based analysis pipeline, achieved coverage insights, and plans to expand automation and visualization across modules.
The article introduces Soloπ, Alipay's comprehensive wireless and non‑intrusive Android testing framework that enables root‑free functional, performance, compatibility, and stability testing on mobile devices through wireless ADB, record‑playback, multi‑device control, and integrated performance tools such as mobile Lighthouse.
This article provides a comprehensive overview of Android UiAutomator 2.0, detailing its major features, migration differences from UiAutomator 1.0, important considerations, Gradle integration steps, test case creation and execution, as well as the UiDevice API and new UiObject2 capabilities for mobile UI automation.
The article examines why short‑video list pages drain far more battery than detail pages, explains Android power‑profile calculations and testing with Battery Historian, and demonstrates code‑level fixes—replacing heavy layout animations with ValueAnimator—to dramatically reduce CPU‑intensive rendering and improve app battery efficiency.