Mobly

Latest version: v1.12.3

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

Scan your dependencies

Page 1 of 3

1.7.3

New
* `self.current_test_info` now exists for `setup_class` stage.
* adb calls through `AdbProxy` can now propagate stderr.
* Instrumentation runner now outputs timestamp for each test.

Fixes
* Fix several bugs for running on Windows.

[Full list of changes.](https://github.com/google/mobly/milestone/16?closed=1)

1.7.2

New
* Support adding additional blocks in test summary file.
* `SnippetEvent` is now loggable.

Fixes
* Fix several bugs in error reporting.
* Fix log persist crashing Mobly on certain devices.

[Full list of changes.](https://github.com/google/mobly/milestone/15?closed=1)

1.7.1

New
* Allow setting up logger before test class execution. Useful for suites.

Fixes
* Fix recording of `teardown_class` failures in new output format.
* Properly handle calling `asserts.abort_all` in `on_fail`.
* Minor fixes for Windows support.

[Full list of changes.](https://github.com/google/mobly/milestone/14?closed=1)

1.7

New
* APIs for specifying expectation in test for delayed test termination.
`mobly.expects`
* A runner class for easily running regular Instrumentation tests with Mobly.
[Tutorial](https://github.com/google/mobly/blob/master/docs/instrumentation_tutorial.md).
* API to get runtime test info during the test.
* Support specifying file location and timeout in `take_bug_report`.
* Support changing device serial during test. Needed for remote devices.
* Allow adding custom controller info for `AndroidDevice`.

Breaking Changes
* Monsoon config format change:
Old: `'Monsoon': [123, 456]`
New: `'Monsoon': [{'serial': 123}, {'serial': 456'}]`

Deprecated
* Old output files.

[Full list of changes.](https://github.com/google/mobly/milestone/13?closed=1)

1.6.1

New
* New output file scheme, with better clarity and streamable summary file.
* Improved result reporting: more consistent, more debug info, no hiding
errors.
* adb commands now support timeout param.
E.g. `adb.wait_for_device(timeout=10)`

Breaking Changes
* Signature change of procedure functions like `on_fail`.
* Old: `on_fail(test_name, begin_time)`
* New: `on_fail(record)`

Deprecated
* Old generated test code path
* Support for old snippet protocol (v0)

Full list of fixes [here](https://github.com/google/mobly/milestone/12?closed=1).

1.5

* Improved compatibility between v1 snippets and older devices/emulators
* Support temporarily disconnecting (without rebooting) Android devices from
USB in a test, useful for power measurement.
* Fixes critical bugs from 1.4.1

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.