E2E test framework for tests with complex environment requirements.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by xpconanfan about 2 months ago
Maintenance release with small improvements and fixes.
apk_utils
module for Android apk install/uninstall.Published by xpconanfan 8 months ago
Bumping min Python version requirement to 3.11.
Modernized the repo's packaging mechanism.
Removed legacy code and dependencies.
AdbProxy
.get_available_host_port
is now deprecated and will be removedfastboot
calls.Full Changelog: https://github.com/google/mobly/compare/1.12.2...1.12.3
Published by xpconanfan over 1 year ago
Bug fixes and improvements to better support users who construct their own
suite based on test_runner
APIs and suite_runner
.
Published by xpconanfan almost 2 years ago
is_emulator
property now works for Cuttlefish imagePublished by xpconanfan about 2 years ago
This release introduces the new generic Mobly snippet base client and the new
Android snippet client built on top. The new snippet base enables us to better
scale Mobly snippets across various platforms.
The old Android snippet client is now considered deprecated, and will be
removed in the following release. Please update your code accordingly:
snippet_client
-> snippet_client_v2
snippet_event
-> mobly.snippet.callback_event
callback_handler
-> callback_handler_v2
The generate_setup_tests
stage is renamed to pre_run
to better reflect its
true role: steps that happen before all the test case methods are finalized.
This is a pure rename with no functional changes. Please migrate your code as
the generate_setup_tests
stage will stop working completely in the next
release.
DEBUG
via cli arg.generate_setup_tests
stage is now pre_run
.Published by xpconanfan over 2 years ago
repeat
and retry
of test cases.android_device
now picks up fastboot
devices if given *
.psutil
in favor of native Py3
features.Published by xpconanfan about 3 years ago
This release focuses on code quality improvement, refactoring, and legacy
code removal.
Py2-specific workarounds and deprecated APIs are removed in this release.
We are also refactoring to use 2-space indentation and unit test system.
repeat
and retry
.monsoon
controllerPublished by xpconanfan almost 4 years ago
This release contains minor fixes and improvements.
AndroidDevice
_print_test_name
.Published by xpconanfan almost 5 years ago
This is likely the last major release that preserves Py2 compatibility.
AndroidDevice
now has a new is_emulator
property.AndroidDevice
.utils.concurrent_exec
.Due to the standardization of output files for both Mobly and AndroidDevice
controller, if you have custom parser of Mobly outputs, you need to adjust
your parsing logic to accommodate the changes.
AndroidDevice
's output files have been standardized #633test_bed
to testbed
in code #641AndroidDevice
's service manager behavior for reboot and USB disconnect.Published by xpconanfan about 5 years ago
TestRunner#run
. Suite users have to explicitly use the new logger context around TestRunner#run
.BaseTestClass
as a context as it has been a no-op for several releases.BaseTestClass#clean_up
which was deprecated in 1.8.1.AndroidDevice#load_sl4a
.AdbProxy
.AndroidDevice
service managementAndroidDevice
's getprop
calls, including caching.Published by xpconanfan almost 6 years ago
http://mobly.readthedocs.io
show all the classesPublished by xpconanfan about 6 years ago
ControllerManager
.AndroidDevice
for ease of handling life cycles of long-running processes for Android devices.logcat.create_per_test_excerpt
.AdbError
now has serial
as a direct attribute.The following APIs in AndroidDevice
are deprecated:
start_services
-> ad.services.start_all
stop_services
-> ad.services.stop_all
start_adb_logcat
-> ad.services.logcat_start
stop_adb_logcat
-> ad.services.logcat_stop
expects
APIs crashing in certain execution stages.setup_class
's record is not recorded correctly in summary yaml.Published by winterfroststrom about 6 years ago
CallbackHandler.waitForEvent
to wait for longer than the max rpcPublished by xpconanfan about 6 years ago
Added framework DEBUG level log generated by Mobly:
AndroidDevice
.BaseTestClass
.Published by xpconanfan over 6 years ago
self.current_test_info
now exists for setup_class
stage.AdbProxy
can now propagate stderr.Published by xpconanfan over 6 years ago
SnippetEvent
is now loggable.Published by xpconanfan over 6 years ago
Published by xpconanfan over 6 years ago
mobly.expects
take_bug_report
.AndroidDevice
.'Monsoon': [123, 456]
'Monsoon': [{'serial': 123}, {'serial': 456'}]
Published by xpconanfan about 7 years ago
New
Breaking Changes
Deprecated
Published by xpconanfan over 7 years ago
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.