B2G/QA/WebAPI Test Plan/Device Storage

From MozillaWiki
< B2G‎ | QA‎ | WebAPI Test Plan
Revision as of 21:14, 27 July 2012 by Dclarke (talk | contribs) (Created page with "=B2G Device Storage API Test Plan= == Summary == {| class="fullwidth-table" |- | style="width:28%" | '''Lead''' | [mailto:dclarke@mozilla.com David Calrke] (irc: onecyrenus) ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

B2G Device Storage API Test Plan

Summary

Lead David Calrke (irc: onecyrenus)
Contributors TBD
API Description API for gaining access to device storage. The API
API Developer Doug Turner
API Project Page Device Storage
API Tracking Bugs bug 720794
API Status Delivered and ready for test

Scope

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

Strategy

Mochitests, these are all backend operations, and functional testing should be able to pick up on basic regressions, which is what we are attempting to devlier for V1.

API

DeviceStorage API is relatively simple, and is defined as part of the nsIDOMDeviceStorage

The ability to get specific storage locations based upon the sdcard, and both read / write to the sdcard is generally what is covered in the V1 of the testplan.

The next round should involve some amount of performance testing, and or further testing off edge cases of the api.

However most of these tests are non device specific and should run similarly on a mochitest run on a linux desktop.

Currently the DeviceStorage API is documented on

deviceStorage (unofficial)

Attributes

Methods

Events

Tests

Marionette/JS

Basic Positive Tests

mochitest-plain

Sanity Tests

Basic Negative Tests

Test App Design


This page is based on the WebAPI Test Plan Template