Closed Bug 1640747 Opened 11 months ago Closed 11 months ago

Add test-level support for handling exceptions while running the tests

Categories

(Testing :: mozperftest, enhancement, P1)

enhancement

Tracking

(firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: acreskey, Assigned: tarek)

Details

Attachments

(1 file)

There are some cases where the developers who write the test would like to be able to handle the exceptions thrown in the automation stack.

One use case is launching Fenix without a view intent -- a gecko session isn't created and so Browsertime cannot establish the webDriver session.
I would like to be able to manually handle this exception and let the test proceed.

Severity: -- → S2
Priority: -- → P1

This patch adds the on_exception hook, that will let developers
drive the runner behavior when a layer fails.

Pushed by tziade@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/23629b6a120b
Add test-level support for handling exceptions while running the tests r=acreskey
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.