QA/Automation/Projects/Mozmill Shared Modules/API Refactor

From MozillaWiki
< QA‎ | Automation‎ | Projects‎ | Mozmill Shared Modules
Revision as of 19:15, 11 August 2010 by Gmealer (talk | contribs) (Created page with "=Overview= {| | style="width: 45%" | | style="width: 55%" | |- valign="top" | '''Lead:''' | [mailto:hskupin@mozilla.com Henrik Skupin] |- valign="top" | '''Co-workers:'''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Lead: Henrik Skupin
Co-workers: Geo Mealer
Dates: No end date set
Status: Exploring new ways to present the Shared API to simplify test scripts.
Repository Location: http://hg.mozilla.org/users/gmealer_mozilla.com/mozmill-refactor/
Tracking Bug / Bug List: TBD
Documentation: TBD

Project details

We're exploring different ways to structure and present both Shared APIs and tests. Some values we're optimizing for are:

  • Low learning ramp for writing Mozmill tests
  • Understandable and verifiable test code
  • Repeatable and accurate test runs

Initial ideas center around creating a custom "testing language" by splitting the Shared API into two classes of modules:

  • API modules contain functions for completing complex tasks
  • UI modules contain a map of the Firefox UI used for per-control access.

API modules would be primarily used in setup for tests where fine control isn't needed. UI modules would be used to simulate a QA Engineer running a test.

Some initial ideas for what we're targeting can be found in: