B2G/QA/WebAPI Test Plan/Template: Difference between revisions

From MozillaWiki
< B2G‎ | QA‎ | WebAPI Test Plan
Jump to navigation Jump to search
(Created page with "=B2G Screen Orientation API Test Plan= == Summary == {| class="fullwidth-table" |- | style="width:28%" | '''Lead''' | [mailto:nobody@example.com John Doe] (irc: johndoe) |- ...")
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
=B2G Screen Orientation API Test Plan=
=B2G WebAPI Test Plan Template=


== Summary ==
== Summary ==
Line 41: Line 41:
If user prefs can turn the API on or off or otherwise modify its operation, describe them here.
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#1 nsISomeInterface] ===
=== [http://mxr.mozilla.org/mozilla-central/source/nsISomeInterface.idl nsISomeInterface] : nsISomeParent ===
==== Attributes ====
==== Attributes ====
* ''read-only'' <tt>DOMString someAttribute</tt><br>(can be foo, bar, baz, bam)
* <tt>readonly DOMString someAttribute</tt><br>Values can be foo, bar, baz, bam
 
* <tt>readonly DOMString anotherAttribute</tt><br>More info about attribute


==== Methods ====
==== Methods ====
* <tt>boolean someMethod(in DOMString param)</tt>
* <tt>boolean someMethod(in DOMString param)</tt>
* <tt>void anotherMethod()</tt>
* <tt>void anotherMethod()</tt>


==== Events ====
==== Events ====
* <tt>onsomevent</tt>
* <tt>onsomeevent</tt>


== Tests ==
== Tests ==
Line 70: Line 73:
* Test 1
* Test 1
* Test 2
* Test 2


=== Test App Design ===
=== Test App Design ===
Describe application functionality here
Describe application functionality here
----
<small>This page is based on the [[B2G/QA/WebAPI Test Plan/Template|WebAPI Test Plan Template]]</small>

Latest revision as of 01:19, 27 June 2012

B2G WebAPI Test Plan Template

Summary

Lead John Doe (irc: johndoe)
Contributors TBD
API Description Insert a description here
API Developer John Doe
API Project Page Some Project
API Tracking Bugs 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.

nsISomeInterface : nsISomeParent

Attributes

  • readonly DOMString someAttribute
    Values can be foo, bar, baz, bam
  • readonly DOMString anotherAttribute
    More info about attribute

Methods

  • boolean someMethod(in DOMString param)
  • void anotherMethod()

Events

  • onsomeevent

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


This page is based on the WebAPI Test Plan Template