|
|
Line 1: |
Line 1: |
| =B2G WebAPI Test Plan Template=
| |
|
| |
|
| == Summary ==
| |
| {| class="fullwidth-table"
| |
| |-
| |
| | style="width:28%" | '''Lead'''
| |
| | [mailto:nobody@example.com John Doe] (irc: johndoe)
| |
| |-
| |
| | '''Contributors'''
| |
| | TBD
| |
| |-
| |
| | '''API Description'''
| |
| | Insert a description here
| |
| |-
| |
| | ''' API Developer'''
| |
| | [mailto:nobody@example.com John Doe]
| |
| |-
| |
| | '''API Project Page'''
| |
| | [[WebAPI/Some Project|Some Project]]
| |
| |-
| |
| | '''API Tracking Bugs'''
| |
| | Put bug|links to the tracking bugs here
| |
| |-
| |
| | '''API Status'''
| |
| | Put current API delivery status here
| |
| |-
| |
| |}
| |
|
| |
| == Scope ==
| |
| A short section should be added here that describes the testing scope of this plan: both what is and is not included, broadly.
| |
|
| |
| == Strategy ==
| |
| Explain here how to test the API in question (emulator, device-agnostic CI tests, on-device applications, or a combination).
| |
|
| |
| In the likely case of a combination, discuss how tests will be split between options.
| |
|
| |
| == API ==
| |
| Describe the API here. Give a short summary, what the API does, and any considerations or preconditions for using it.
| |
|
| |
| === Related Prefs ===
| |
| If user prefs can turn the API on or off or otherwise modify its operation, describe them here.
| |
|
| |
| === [http://mxr.mozilla.org/mozilla-central/source/nsISomeInterface.idl nsISomeInterface] : nsISomeParent ===
| |
| ==== Attributes ====
| |
| * <tt>readonly DOMString someAttribute</tt><br>Values can be foo, bar, baz, bam
| |
|
| |
| * <tt>readonly DOMString anotherAttribute</tt><br>More info about attribute
| |
|
| |
| ==== Methods ====
| |
| * <tt>boolean someMethod(in DOMString param)</tt>
| |
|
| |
| * <tt>void anotherMethod()</tt>
| |
|
| |
| ==== Events ====
| |
| * <tt>onsomeevent</tt>
| |
|
| |
| == Tests ==
| |
| === Marionette/JS ===
| |
| ==== Test Type 1 ====
| |
| * Test 1
| |
| * Test 2
| |
|
| |
| ==== Test Type 2 ====
| |
| * Test 1
| |
| * Test 2
| |
|
| |
| === mochitest-plain===
| |
| ==== Test Type 1 ====
| |
| * Test 1
| |
| * Test 2
| |
|
| |
| ==== Test Type 2 ====
| |
| * Test 1
| |
| * Test 2
| |
|
| |
| === Test App Design ===
| |
| Describe application functionality here
| |
|
| |
| ----
| |
| <small>This page is based on the [[B2G/QA/WebAPI Test Plan/Template|WebAPI Test Plan Template]]</small>
| |