B2G/UpdateTesting

Contents

Overview

When a system update is applied in B2G, it causes either a process restart (OTA) or a device reboot (FOTA), requiring special high level support from a testing framework to automate testing of the various stages of the update.

To solve this problem, specialized Marionette based frontends have been written to solve two different use cases:

A script based frontend for use by developers, and eventually TBPL

A "continuous build" smoke testing frontend designed to automatically test updates between builds in a Continuous Integration environment.

Smoke Tests

Setup

To get started, just make a directory that will store updates and flash scripts for each build, and inside it create a smoketest-config.json.