| commit | 0e51615a31b57704845e56318e787ac6b6f699d7 | [log] [tgz] |
|---|---|---|
| author | Minghao Li <[email protected]> | Thu Feb 27 19:23:43 2025 -0800 |
| committer | Automerger Merge Worker <[email protected]> | Thu Feb 27 19:23:43 2025 -0800 |
| tree | f9cfab19ac1b4b9868f79b6fec04892b23fde005 | |
| parent | 79fdf56bd999b1d6801de5766b531c47c62057e8 [diff] | |
| parent | 59f35623bc892715f48f301f7f572380d8135f0b [diff] |
Add xianyuanjia@ to the OWNERS file am: 59f35623bc Original change: https://android-review.googlesource.com/c/platform/external/python/mobly/+/3505794 Change-Id: I2340b80a42f2a4a626e2666e07f933849639c14a Signed-off-by: Automerger Merge Worker <[email protected]>
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.