Mobly

Latest version: v1.12.4

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.4.1

Warning: This release has multiple issues; please use 1.5.

New
* Support the new launch and connection mechanism in Snippet Lib 1.2.

Fixes
* a bug in `generate_tests` that prevents it to be called when wrapped in
other functions.
* a bug that exposed Mobly internal controller registry to tests.

Deprecate
* Old snippet launch protocol (V0)

1.4

New
* Brand new generated test. See `BaseTestClass.generate_tests`
*Please switch to new one since we're deprecating the old one.*
* Support creating test suites where each class has a different config.
* Support usb id as device identifier.
* The token that marks begin and end of the test in logs has changed from
`[Test Case]` to `[Test]`.
* Launch MBS without package name with `snippet_shell.py --mbs`
* adb binary location can now be modified by test code.

Fixes
* Clear adb logcat cache before starting collection.
* Use default `adb logcat` buffer. if you need additional logcat buffers, set
`-b <buffer name>` with `adb_logcat_param` in the config for AndroidDevice.
* Time out sooner when snippet server stops responding.

Deprecate
* Old generated tests (run_generated_tests)

1.3

* Support running on Windows.
* Add support for creating test suites.
* Support UIAutomator in snippet.
* Fixes to adb commands to avoid double-quoting and fix cross-platform issues.
* adb commands are now run without local shell. For commands with more
than one argument, pass in a list of arguments instead of a string. Eg
`adb.logcat("-c -v")` becomes `adb.logcat(["-c", "-v"])`.
* `utils.start_standing_process()` run without local shell by default
* `utils.exe_cmd()` removed. Use `subprocess.check_output()` instead.

1.2.1

* Fixes critical bugs in 1.2

1.2

Warning: This release has multiple issues; please use 1.2.1.

* New config format with clear compartmentalization of different types of
configs.
* Utilize yaml format instead of json for new config.
* Added support for Mobly Snippet Lib's Asynchronous Rpc calls.
* Added support for handling async events from async Rpc calls.
* Various improvements and bug fixes.

1.1.2

* Stop making sl4a a default requirement.
* Require explicitly starting sl4a with `AndroidDevice.load_sl4a`.
* Fix in `android_device` and `snippet_client`
* Fix various other minor issues.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.