mobly
mobly copied to clipboard
E2E test framework for tests with complex environment requirements.
From [`service_manager.py`](https://github.com/google/mobly/blob/master/mobly/controllers/android_device_lib/service_manager.py), it provides method `register` to register service: ```python def register(self, alias, service_class, configs=None, start_service=True): """Registers a service. This will create a service instance, starts the service, and adds...
Issue: Unregistering a service results in the following error: ``` ps: illegal option -- - usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]] [-g grp[,grp...]] [-u [uid,uid...]] [-p...
Now users can enter regex strings with prefix `re:` in the `test_cases` field to select with regex. Only full matches apply. Fixes #887 - - - This change is [](https://reviewable.io/reviews/google/mobly/938)
Improve the error messaging to indicate that an expected DUT might not be connected via ADB. Test: atest UCD with ADB disconnected - - - This change is [](https://reviewable.io/reviews/google/mobly/976)
Without escaping, the test simulates the logger logic and issues this error: E Exception: Error occurred: unsupported format character ']' (0x5d) at index 14 With escaping, tox passes all tests....
#968 was closed too fast. You wrote: > The latest wheel have been published to PyPI. but this is not the case, as you can see at https://pypi.org/project/mobly/#files - only...
If a test executed by `test_runner` raises `signals.TestAbortAll` before any failures or errors are received, the test will exit with status code `0` instead of what I expected to be...
def run_suite_class(argv=None): """Executes tests in the test suite. Args: argv: A list that is then parsed as CLI args. If None, defaults to sys.argv. """ cli_args = _parse_cli_args(argv) suite_class =...
Changes: 1. Add a property `identifier` to SnippetClientV2 class. 2. Use the client identifier instead of package name for logging and dup registration check. This PR allows loading snippets with...
## Summary This PR adds a new tutorial document explaining how to implement custom controller modules for non-Android devices (e.g., smart lights, PDUs). It includes a complete example with type...