Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Issue 2072713003: [telemetry] Print browser standard output and log upon BrowserTestCase failures (Closed)

Created:
4 years, 6 months ago by petrcermak
Modified:
4 years, 6 months ago
Reviewers:
nednguyen
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Base URL:
git@github.com:catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[telemetry] Print browser standard output and log upon BrowserTestCase failures This patch adds a metaclass which ensures that all test* methods of all subclasses of BrowserTestCase print browser standard output and log upon failure. BUG=chromium:612779 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/752a1c413f80eda020916f3715340144b9c6358c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make the metaclass private #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -34 lines) Patch
M telemetry/telemetry/internal/backends/chrome_inspector/tracing_backend_unittest.py View 4 chunks +0 lines, -34 lines 0 comments Download
M telemetry/telemetry/testing/browser_test_case.py View 1 3 chunks +52 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
petrcermak
PTAL. Thanks, Petr
4 years, 6 months ago (2016-06-16 13:43:15 UTC) #2
nednguyen
Oh wow. lgtm https://codereview.chromium.org/2072713003/diff/1/telemetry/telemetry/testing/browser_test_case.py File telemetry/telemetry/testing/browser_test_case.py (right): https://codereview.chromium.org/2072713003/diff/1/telemetry/telemetry/testing/browser_test_case.py#newcode20 telemetry/telemetry/testing/browser_test_case.py:20: class MetaBrowserTestCase(type): nits: make this private
4 years, 6 months ago (2016-06-16 13:50:50 UTC) #3
petrcermak
I thought I'd never get to actually use metaclasses in real life :-) Thanks for ...
4 years, 6 months ago (2016-06-16 13:58:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072713003/20001
4 years, 6 months ago (2016-06-16 13:58:19 UTC) #7
nednguyen
On 2016/06/16 13:58:06, petrcermak wrote: > I thought I'd never get to actually use metaclasses ...
4 years, 6 months ago (2016-06-16 14:00:50 UTC) #8
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 14:20:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698