QA/Automation/Projects/WebAPI: Difference between revisions

m
 
(7 intermediate revisions by 2 users not shown)
Line 20: Line 20:
  | http://mxr.mozilla.org/mozilla-central/source/dom/
  | http://mxr.mozilla.org/mozilla-central/source/dom/
  |- valign="top"
  |- valign="top"
  | '''Tracking Bug:'''
  | '''API specs:'''
  | n/a
  | https://wiki.mozilla.org/WebAPI#APIs
  |- valign="top"
  |- valign="top"
  | '''Etherpad:'''
  | '''Etherpad:'''
Line 36: Line 36:
  |- valign="top"
  |- valign="top"
  | P1
  | P1
  | [[WebAPI/WebTelephony]]
  | [[WebAPI/WebTelephony|WebTelephony]]
  | Active
  | Active
  | Rob Wood
  | Rob Wood
Line 42: Line 42:
  |- valign="top"
  |- valign="top"
  | P1
  | P1
  | [[WebAPI/WebSMS]]
  | [[WebAPI/WebSMS|WebSMS]]
  | Active
  | Active
  | Rob Wood
  | Rob Wood
Line 48: Line 48:
  |- valign="top"
  |- valign="top"
  | P1
  | P1
  | [[WebAPI/ScreenOrientation]]
  | [[WebAPI/ScreenOrientation|Screen Orientation]]
  | Active
  | Active
  | Henrik Skupin
  | Henrik Skupin
  | [[B2G/QA/WebAPI_Test_Plan/Screen_Orientation]]
  | [[B2G/QA/WebAPI_Test_Plan/Screen_Orientation]]
|- valign="top"
| P1
| [http://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html Battery Status]
| No started
| TBD
| [[B2G/QA/WebAPI_Test_Plan/Battery_Status]]
|}
|}
==Tasks==
For each of the WebAPIs that are testable on the B2G device emulator:
* Review the implementation details
* Review existing tests
* Identify new test cases to be developed, in order to ensure full API test coverage
* When reviewing existing mochitests, determine if additional test coverage can be achieved by adding marionette tests that access emulator features
* Develop new tests using the appropriate automation framework:
** Default to using mochitest; unless:
** If direct access to the B2G device emulator 'hardware' commands is required, use the marionette framework.


==Details==
==Details==
Line 97: Line 113:


python $B2G_HOME/gecko/testing/marionette/client/marionette/runtests.py --emulator arm --address localhost:2828 --homedir $B2G_HOME $1
python $B2G_HOME/gecko/testing/marionette/client/marionette/runtests.py --emulator arm --address localhost:2828 --homedir $B2G_HOME $1
=== Emulator (Android Console) Commands ===
Emulator commands:
http://developer.android.com/tools/devices/emulator.html
General emulator info:
http://developer.android.com/tools/help/emulator.html
canmove, Confirmed users, Bureaucrats and Sysops emeriti
4,714

edits