mobly
From public sourcesE2E test framework for tests with complex environment requirements.
Overview
- android
- android-app
- android-development
- android-devices
- android-test
- android-wear
- automation
- bluetooth
- cars
Installation
Commands are shown, never run by the marketplace. Check them against the official documentation.- Official websiteFrom public sourcesfrom catalog metadatagithub.com/google/mobly ↗
- Language package registrypythonFrom public sourcesfrom the package manifest — publication on the registry is not verified
pipx install moblyNot verified: check that this package in the registry belongs to this project before installing.
pypi.org/project/mobly/ ↗ - Build from sourceFrom public sourcesfrom catalog metadata
Build from source: no validated build recipe — follow the repository instructions.
github.com/google/mobly ↗
Compatibility
Unknown means no evidence was found — not that the product is incompatible.| Platform | Status | Architecture | Evidence | Confidence |
|---|---|---|---|---|
| Android | Unknown | — | — | — |
| iOS | Unknown | — | — | — |
| Python | Compatible | — | package manifest: pyproject.toml name | 0.60 |
Releases
checked Oct 29, 2026Files in 1.13.1
This release has no attached files.
Release history
- v1.13.0May 7, 2025Official source ↗
- v1.12.4Aug 29, 2024Official source ↗
- v1.12.3Mar 7, 2024Official source ↗
- v1.12.2May 4, 2023Official source ↗
- v1.12.1Jan 18, 2023Official source ↗
- v1.12.0Aug 5, 2022Official source ↗
- v1.11.1Mar 8, 2022Official source ↗
Quality profile
algorithm quality-v1.0 · assessed Oct 15, 2026Score components
License
Apache-2.0This is the catalog policy status, not legal advice.
Sources
Reviews
No reviews yet.
Alternatives
README
From google/mobly · license Apache-2.0 · fetched Oct 29, 2026Welcome to Mobly
[Latest release] [Build Status]
Mobly is a Python-based test framework that specializes in supporting test cases that require multiple devices, complex environments, or custom hardware setups.
Here are some example use cases:
- P2P data transfer between two devices
- Conference calls across three phones
- Wearable device interacting with a phone
- Internet-Of-Things devices interacting with each other
- Testing RF characteristics of devices with special equipment
- Testing LTE network by controlling phones, base stations, and eNBs
Mobly can support many different types of devices and equipment, and it's easy to plug your own device or custom equipment/service into Mobly.
Mobly comes with a set of libs to control common devices like Android devices.
While developed by Googlers, Mobly is not an official Google product.
Compatibility
Mobly requires python 3.14 or newer.
Mobly tests could run on the following platforms:
- Ubuntu 14.04+
- MacOS 10.6+
- Windows 7+
System dependencies
- adb (1.0.40+ recommended)
- python3.14+
Installation
You can install the released package from pip
pip install mobly
or install from the source to use the bleeding edge:
git clone https://github.com/google/mobly.git
cd mobly
pip install -e .
You may need sudo for the above commands if your system has certain permission
restrictions.
Tutorials
-
Mobly 101 - Simple test examples to get you started with Mobly.
-
Mobly Instrumentation Runner Tutorial - How to use Mobly's Android instrumentation test runner to run Android instrumentation tests.
-
Mobly AndroidDevice Service - Create custom service to attach to Mobly's
AndroidDevicecontroller.
Mobly Snippet
The Mobly Snippet projects let users better control Android devices.
- Mobly Snippet Lib: used for triggering custom device-side code from host-side Mobly tests. You could use existing Android libraries like UI Automator and Espresso.
- Mobly Bundled Snippets: a set of Snippets to allow Mobly tests to control Android devices by exposing a simplified version of the public Android API suitable for testing.