| commit | a09e1116e2473aead659fe8fe6993e982e380613 | [log] [tgz] |
|---|---|---|
| author | Minghao Li <[email protected]> | Tue Feb 25 18:38:34 2025 +0800 |
| committer | Minghao Li <[email protected]> | Wed Feb 26 16:05:23 2025 +0800 |
| tree | ea49b65bdc16643e52230798c889ce61dc37cca9 | |
| parent | fd25b1988dae00533f7d5098355231a1971e7b49 [diff] | |
| parent | a489d904870e349ce47cc972d0f20c4723316cce [diff] |
Upgrade mobly to a489d904870e349ce47cc972d0f20c4723316cce This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update external/python/mobly For more info, check https://cs.android.com/android/platform/superproject/main/+/main:tools/external_updater/README.md Test: http://sponge2/13621805-ae77-44fd-9262-c7ae6930c069 (passed) Change-Id: Ib9fe4462ce8cfcfa13450be3e49b0d8b221d2779
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:
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.
Mobly requires python 3.11 or newer.
Mobly tests could run on the following platforms:
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.
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 AndroidDevice controller.
The Mobly Snippet projects let users better control Android devices.