Skip to content

Releases: google/mobly

Mobly Release 1.5

12 Jul 00:48

Choose a tag to compare

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

31 May 00:01

Choose a tag to compare

Release note 1.4.1
Fix

  • 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.

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

22 May 20:12

Choose a tag to compare

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.

Test Suite; Windows Support and Cli Shell Changes

19 Apr 01:35

Choose a tag to compare

  • 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

15 Mar 02:05

Choose a tag to compare

  • 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

15 Mar 02:12

Choose a tag to compare

  • 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.

AndroidDevice Controller Improvements

15 Mar 02:10

Choose a tag to compare

Bug fixes and improvements in AndroidDevice controller.

Snippet Support

15 Mar 02:10

Choose a tag to compare

  • 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

15 Mar 02:07

Choose a tag to compare

Initial release of Mobly!