Releases: google/mobly
Releases · google/mobly
Mobly Release 1.5
https://github.com/google/mobly/blob/master/CHANGELOG.md#15-new-snippet-startup-protocol
We will use CHANGELOG.md for release notes and link to that file on this page from now on.
CHANGELOG.md has the most accurate release notes.
Mobly Release 1.4.1
Release note 1.4.1
Fix
- a bug in
generate_teststhat prevents it to be called when wrapped in other functions. - a bug that exposed Mobly internal controller registry to tests.
New
- Support the new launch and connection mechanism in Snippet Lib 1.2.
Warning:
This release breaks AsyncRpc usage, so if you use AsyncRpc, skip to 1.4.2.
Release 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 logcatbuffer. if you need additional logcat buffers, set-b <buffer name>withadb_logcat_paramin the config for AndroidDevice. - Time out sooner when snippet server stops responding.
Test Suite; Windows Support and Cli Shell Changes
- 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.
New Config Format and Async Rpc Support
- 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.
SL4A Default No More
- Stop making sl4a a default requirement.
- Require explicitly starting sl4a with
AndroidDevice.load_sl4a. - Fix in
android_deviceandsnippet_client - Fix various other minor issues.
AndroidDevice Controller Improvements
Bug fixes and improvements in AndroidDevice controller.
Snippet Support
- Add a client for making Rpc calls to apps built with Mobly Snippet Library.
- Add a controller lib for attenuators.
- Add customizable log prefix tag in AndroidDevice for better device-level logging.
Initial Release
Initial release of Mobly!