Add a way to restart the runtime during testing
Categories
(GeckoView :: General, enhancement, P2)
Tracking
(firefox95 fixed)
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: agi, Assigned: agi)
References
(Blocks 3 open bugs)
Details
(Whiteboard: [geckoview:m95])
Attachments
(1 file)
We need a way to test different configurations for GeckoView. E.g. Telemetry Snapshots and Streaming telemetry cannot be tested with the same configuration.
One way to do that would be to set up a test target that uses the android Orchestrator and restarts the app every test run (we probably don't want to do that for every test, since it makes the tests really slow).
https://developer.android.com/training/testing/junit-runner#using-android-test-orchestrator
Updated•5 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Morphed into allowing restarting the runtime which would trivially allow the initial use case too.
Assignee | ||
Comment 3•3 years ago
|
||
This patch adds a new test service class that can be used to more easily write
a test that needs to run multiple runtimes or needs to reset the runtime.
The service also includes an optional Instance class that can be used to
control the service and send and receive messages from the remote runtime.
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
Adding to the sprint as part of P1 Bug 1714945.
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c73b3f9bd97c Add TestRuntimeService to restart runtime in tests. r=owlish
Comment 6•3 years ago
|
||
bugherder |
Description
•