B2G/QA/WebAPI Test Plan/Battery Status

< B2G‎ | QA‎ | WebAPI Test Plan
Revision as of 14:15, 25 October 2012 by Davehunt (talk | contribs) (→‎API)

B2G Battery API Test Plan

Summary

Lead TBD
Contributors Dave Hunt (irc: davehunt)
API Description Get details of the battery charging state and level, as well as listen for change of state or level.
API Developer Mounir Lamouri
API Project Page WebBattery
API Tracking Bugs bug 678694
API Status Delivered and ready for test

Scope

This test plan covers functional testing of the Battery API as delivered for Boot2Gecko. It does not attempt to cover performance, security, or other kinds of testing at this time.

Strategy

The Battery API can be tested most effectively by manipulating the battery status and level of an emulated device, so primary testing will be via Marionette/JS through CI.

Some basic sanity tests can be added to Mochitest for default values where hardware emulation is not possible.

API

Tests

Marionette/JS

TBD

  • TBD

mochitest-plain

TBD

  • TBD

This page is based on the WebAPI Test Plan Template