Write basic tests that create CrosBrowser with mocked cri |
|||||
Issue descriptionError: Unhandled AttributeError: 'CrosPlatformBackend' object has no attribute 'startup_args' on bots I suspect https://chromium.googlesource.com/catapult.git/+/c88db750479a747611ac76120405b52106274bcb example bot https://build.chromium.org/p/chromiumos.chromium/builders/amd64-generic-tot-chromium-pfq-informational/builds/14842
,
Jan 9 2018
Sorry for the breakage. That should fix the problem. Still, you can leave this bug open and assigned to me. I should add some basic tests, at least instantiate some CrosBrowser with the cri mocked out, so that very simple mistakes like this are caught earlier.
,
Jan 9 2018
> Still, you can leave this bug open and assigned to me. I should add some basic tests, at least instantiate some CrosBrowser with the cri mocked out, so that very simple mistakes like this are caught earlier. That'd be fantastic, thank you.
,
Jan 9 2018
,
Jan 10 2018
Lowering Pri as bots are back to green.
,
Jan 10 2018
,
Jan 23 2018
,
Jan 24 2018
The following revision refers to this bug: https://chromium.googlesource.com/catapult/+/c03f122f4f15cdc80532d29e9c2de0364e393481 commit c03f122f4f15cdc80532d29e9c2de0364e393481 Author: Juan Antonio Navarro Perez <perezju@google.com> Date: Wed Jan 24 13:19:26 2018 [Telemetry] Add CrOSBrowserMockCreationTest Add a few tests to ensure a CrOS browser can be created by Telemetry APIs and classes, mocking out the platform and other components. This is done so that tests can run without having access to an actual cros device, and help to catch some kinds of errors earlier on the catapult CQ. Test surface covered includes methods in all of: - PossibleCrOSBrowser - CrOSBrowserBackend - CrOSBrowserWithOOBE Bug: chromium:800384 Change-Id: Ie18d88820de3fb07ccaea422be1b864ddb4ee3ea Reviewed-on: https://chromium-review.googlesource.com/881562 Commit-Queue: Juan Antonio Navarro Pérez <perezju@chromium.org> Reviewed-by: Ned Nguyen <nednguyen@google.com> [modify] https://crrev.com/c03f122f4f15cdc80532d29e9c2de0364e393481/telemetry/telemetry/internal/backends/chrome/cros_browser_finder_unittest.py
,
Jan 24 2018
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by bugdroid1@chromium.org
, Jan 9 2018