B2G/QA/WebAPI Test Plan/Template

From MozillaWiki
< B2G‎ | QA‎ | WebAPI Test Plan
Jump to: navigation, search

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