mobly

E2E test framework for tests with complex environment requirements.

APACHE-2.0 License

Downloads
325.7K
Stars
639
Committers
59

Bot releases are hidden (Show)

mobly - Mobly Release 1.4.1

Published by xpconanfan over 7 years ago

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.

mobly - Release 1.4

Published by xpconanfan over 7 years ago

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.
mobly - Test Suite; Windows Support and Cli Shell Changes

Published by xpconanfan over 7 years ago

  • 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.
mobly - SL4A Default No More

Published by xpconanfan over 7 years ago

  • 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.
mobly - AndroidDevice Controller Improvements

Published by xpconanfan over 7 years ago

Bug fixes and improvements in AndroidDevice controller.

mobly - Snippet Support

Published by xpconanfan over 7 years ago

  • 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.
mobly - Initial Release

Published by xpconanfan over 7 years ago

Initial release of Mobly!

mobly - New Config Format and Async Rpc Support

Published by xpconanfan over 7 years ago

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